Commit ecb83168 authored by Mark Dickinson's avatar Mark Dickinson

Fix a NameError in test_enumerate.

parent 20665599
...@@ -245,7 +245,7 @@ def test_main(verbose=None): ...@@ -245,7 +245,7 @@ def test_main(verbose=None):
if verbose and hasattr(sys, "gettotalrefcount"): if verbose and hasattr(sys, "gettotalrefcount"):
counts = [None] * 5 counts = [None] * 5
for i in xrange(len(counts)): for i in xrange(len(counts)):
test_support.run_unittest(*testclasses) test_support.run_unittest(__name__)
counts[i] = sys.gettotalrefcount() counts[i] = sys.gettotalrefcount()
print counts print counts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment