[Python-checkins] r84255 - python/branches/release27-maint/Lib/test/test_heapq.py
raymond.hettinger
python-checkins at python.org
Sun Aug 22 10:12:09 CEST 2010
Author: raymond.hettinger
Date: Sun Aug 22 10:12:09 2010
New Revision: 84255
Log:
Issue 7871: Delete unused test.
Modified:
python/branches/release27-maint/Lib/test/test_heapq.py
Modified: python/branches/release27-maint/Lib/test/test_heapq.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_heapq.py (original)
+++ python/branches/release27-maint/Lib/test/test_heapq.py Sun Aug 22 10:12:09 2010
@@ -330,14 +330,6 @@
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)
More information about the Python-checkins
mailing list