示例#1
0
 def check_sem_markup_negative(text):
     match = _SEM_MARKUP.match(text)
     assert not match
示例#2
0
 def check_sem_markup_positive(text):
     groups = _TEST_SEM_MARKUP[text]
     match = _SEM_MARKUP.match(text)
     assert match
     eq_(match.groups(), groups)