summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-06-08 20:13:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-06-08 20:13:46 -0400
commita151001ce2c7c114759e06968f516f2d38c3a2ab (patch)
tree340f0135690a9625ae89b8888251bfdb37a22a68 /coverage
parent907af0e7e261bd9f14d013b1b1b65cb0cf319e27 (diff)
downloadpython-coveragepy-a151001ce2c7c114759e06968f516f2d38c3a2ab.tar.gz
Clean up #199
Diffstat (limited to 'coverage')
-rw-r--r--coverage/backunittest.py5
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)
-