diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-05-25 19:44:49 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-05-25 19:44:49 (GMT) |
commit | ecb8316885695a9292b4d3efdaf3ac14ba120a61 (patch) | |
tree | f42d92a95c9f8ecb4e1da3cba012115bd74f3370 /Lib/test/test_enumerate.py | |
parent | 20665599131379d7cd9e6a447551f252a2b115c5 (diff) | |
download | cpython-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.py | 2 |
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 |