]> granicus.if.org Git - python/commitdiff
Merged revisions 81528 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Tue, 25 May 2010 19:48:15 +0000 (19:48 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 25 May 2010 19:48:15 +0000 (19:48 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81528 | mark.dickinson | 2010-05-25 20:46:20 +0100 (Tue, 25 May 2010) | 9 lines

  Merged revisions 81527 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81527 | mark.dickinson | 2010-05-25 20:44:49 +0100 (Tue, 25 May 2010) | 1 line

    Fix a NameError in test_enumerate.
  ........
................

Lib/test/test_enumerate.py

index 315069c48e7bbb5f9b4fe41c0a4990fb5d204665..4dc9a124cf8ea4eb177b9e823e2cbe7add4c70d1 100644 (file)
@@ -227,7 +227,7 @@ def test_main(verbose=None):
     if verbose and hasattr(sys, "gettotalrefcount"):
         counts = [None] * 5
         for i in range(len(counts)):
-            support.run_unittest(*testclasses)
+            support.run_unittest(__name__)
             counts[i] = sys.gettotalrefcount()
         print(counts)