summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-25 19:46:20 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-05-25 19:46:20 (GMT)
commitf43c3d3363a318371b53a980cbb6e47f4f0a2dac (patch)
tree72c56f6e29b41176a937ea677f50198119fc8ab7
parentfb3dc94b8c84b91a384c0159c7b126976cbc79fd (diff)
downloadcpython-f43c3d3363a318371b53a980cbb6e47f4f0a2dac.zip
cpython-f43c3d3363a318371b53a980cbb6e47f4f0a2dac.tar.gz
cpython-f43c3d3363a318371b53a980cbb6e47f4f0a2dac.tar.bz2
Merged revisions 81527 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81527 | mark.dickinson | 2010-05-25 20:44:49 +0100 (Tue, 25 May 2010) | 1 line Fix a NameError in test_enumerate. ........
-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 b8b9719..7fc1fdc 100644
--- a/Lib/test/test_enumerate.py
+++ b/Lib/test/test_enumerate.py
@@ -239,7 +239,7 @@ def test_main(verbose=None):
if verbose and hasattr(sys, "gettotalrefcount"):
counts = [None] * 5
for i in range(len(counts)):
- support.run_unittest(*testclasses)
+ support.run_unittest(__name__)
counts[i] = sys.gettotalrefcount()
print(counts)