diff options
author | Raymond Hettinger <python@rcn.com> | 2010-08-22 08:12:09 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-08-22 08:12:09 +0000 |
commit | e5632642fcd590e01087da5b2c32d14d5fe83585 (patch) | |
tree | 011c686c9bcc1f006fba06c5dd7911093a625baa /Lib/test/test_heapq.py | |
parent | 917bba1f2a382d5251b94eeadc344ec6ed3eaa97 (diff) | |
download | cpython-git-e5632642fcd590e01087da5b2c32d14d5fe83585.tar.gz |
Issue 7871: Delete unused test.
Diffstat (limited to 'Lib/test/test_heapq.py')
-rw-r--r-- | Lib/test/test_heapq.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py index afd760144f..e4d2cc8b88 100644 --- a/Lib/test/test_heapq.py +++ b/Lib/test/test_heapq.py @@ -330,14 +330,6 @@ class TestErrorHandling(unittest.TestCase): self.assertRaises(TypeError, f, 2, LenOnly()) def test_get_only(self): - for f in (self.module.heapify, self.module.heappop): - self.assertRaises(TypeError, f, GetOnly()) - for f in (self.module.heappush, self.module.heapreplace): - self.assertRaises(TypeError, f, GetOnly(), 10) - for f in (self.module.nlargest, self.module.nsmallest): - self.assertRaises(TypeError, f, 2, GetOnly()) - - def test_get_only(self): seq = [CmpErr(), CmpErr(), CmpErr()] for f in (self.module.heapify, self.module.heappop): self.assertRaises(ZeroDivisionError, f, seq) |