From a151001ce2c7c114759e06968f516f2d38c3a2ab Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 8 Jun 2016 20:13:46 -0400 Subject: Clean up #199 --- coverage/backunittest.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'coverage/backunittest.py') 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) - -- cgit v1.2.1