diff options
Diffstat (limited to 'coverage/backunittest.py')
-rw-r--r-- | coverage/backunittest.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/coverage/backunittest.py b/coverage/backunittest.py index 29fea86..09574cc 100644 --- a/coverage/backunittest.py +++ b/coverage/backunittest.py @@ -40,8 +40,3 @@ class TestCase(unittest.TestCase): if not unittest_has('assertRegex'): def assertRegex(self, *args, **kwargs): return self.assertRegexpMatches(*args, **kwargs) - - if not unittest_has('assertNotIn'): - def assertNotIn(self, needle, haystack): - self.assertTrue(needle not in haystack) - |