def test_build_whitepace_splited_regex(self, warnings_mock): # noinspection PyDeprecation utils.build_whitepace_splited_regex('foo') self.assertTrue(warnings_mock.called)
def test_issue_2227(self): regex = build_whitepace_splited_regex(SINGLE_DOUBLE_SAME_LINE_TXT) self.assertTrue(re.search(regex, MATCH))
def test_single_and_double_quotes(self): regex = build_whitepace_splited_regex(SINGLE_DOUBLE_TXT) self.assertTrue(re.search(regex, MATCH))