Exemplo n.º 1
0
 def assertRegex(self, brain, expected):
     """
     Asserts that Brain(brain).match_regex() == expected.
     """
     b = Brain(brain)
     self.assertEqual(b.match_regex(), expected)
Exemplo n.º 2
0
 def assertRegex(self, brain, expected):
     """
     Asserts that Brain(brain).match_regex() == expected.
     """
     b = Brain(brain)
     self.assertEqual(b.match_regex(), expected)