summaryrefslogtreecommitdiff
path: root/coverage/backunittest.py
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
commite500e5ad0c3e1f1d9093e386af1435c20d600d87 (patch)
treeae65315b9de2805a9bd997dde982a8528e3d91c3 /coverage/backunittest.py
parentac0063e7818271b8926da1c063022273aab580ec (diff)
downloadpython-coveragepy-git-e500e5ad0c3e1f1d9093e386af1435c20d600d87.tar.gz
Clean up #199
Diffstat (limited to 'coverage/backunittest.py')
-rw-r--r--coverage/backunittest.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/coverage/backunittest.py b/coverage/backunittest.py
index 29fea86f..09574ccb 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)
-