Fix a NameError in test_enumerate.
This commit is contained in:
parent
2066559913
commit
ecb8316885
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue