summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enumerate.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-25 19:44:49 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-05-25 19:44:49 (GMT)
commitecb8316885695a9292b4d3efdaf3ac14ba120a61 (patch)
treef42d92a95c9f8ecb4e1da3cba012115bd74f3370 /Lib/test/test_enumerate.py
parent20665599131379d7cd9e6a447551f252a2b115c5 (diff)
downloadcpython-ecb8316885695a9292b4d3efdaf3ac14ba120a61.zip
cpython-ecb8316885695a9292b4d3efdaf3ac14ba120a61.tar.gz
cpython-ecb8316885695a9292b4d3efdaf3ac14ba120a61.tar.bz2
Fix a NameError in test_enumerate.
Diffstat (limited to 'Lib/test/test_enumerate.py')
-rw-r--r--Lib/test/test_enumerate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_enumerate.py b/Lib/test/test_enumerate.py
index e38389a..efea5fa 100644
--- a/Lib/test/test_enumerate.py
+++ b/Lib/test/test_enumerate.py
@@ -245,7 +245,7 @@ def test_main(verbose=None):
if verbose and hasattr(sys, "gettotalrefcount"):
counts = [None] * 5
for i in xrange(len(counts)):
- test_support.run_unittest(*testclasses)
+ test_support.run_unittest(__name__)
counts[i] = sys.gettotalrefcount()
print counts