Fix a NameError in test_enumerate.

This commit is contained in:
Mark Dickinson 2010-05-25 19:44:49 +00:00
parent 2066559913
commit ecb8316885
1 changed files with 1 additions and 1 deletions

View File

@ -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