[Python-checkins] cpython (2.7): Fix cut and paste error.

raymond.hettinger python-checkins at python.org
Sun May 8 00:19:41 CEST 2011


http://hg.python.org/cpython/rev/dd2639508dfe
changeset:   69933:dd2639508dfe
branch:      2.7
user:        Raymond Hettinger <python at rcn.com>
date:        Sat May 07 15:19:34 2011 -0700
summary:
  Fix cut and paste error.

files:
  Lib/test/test_heapq.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py
--- a/Lib/test/test_heapq.py
+++ b/Lib/test/test_heapq.py
@@ -349,7 +349,7 @@
                 self.assertRaises(TypeError, f, 2, N(s))
                 self.assertRaises(ZeroDivisionError, f, 2, E(s))
 
-class TestErrorHandling_Python(unittest.TestCase):
+class TestErrorHandling_Python(TestErrorHandling):
     module = py_heapq
 
 class TestErrorHandling_C(TestErrorHandling):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list