def check_sem_markup_negative(text): match = _SEM_MARKUP.match(text) assert not match
def check_sem_markup_positive(text): groups = _TEST_SEM_MARKUP[text] match = _SEM_MARKUP.match(text) assert match eq_(match.groups(), groups)
def check_sem_markup_negative(text): match = _SEM_MARKUP.match(text) assert not match
def check_sem_markup_positive(text): groups = _TEST_SEM_MARKUP[text] match = _SEM_MARKUP.match(text) assert match eq_(match.groups(), groups)