[Python-checkins] bpo-31027: Fix test_listcomps failure when run directly (#2939)
Terry Jan Reedy
webhook-mailer at python.org
Sat Jul 29 12:05:58 EDT 2017
https://github.com/python/cpython/commit/ceb93f4540981e3f9af66bd936920186aba813fc
commit: ceb93f4540981e3f9af66bd936920186aba813fc
branch: master
author: Zackery Spytz <Osmunda46 at gmail.com>
committer: Terry Jan Reedy <tjreedy at udel.edu>
date: 2017-07-29T12:05:55-04:00
summary:
bpo-31027: Fix test_listcomps failure when run directly (#2939)
Bug appears to be incomplete copy-paste-edit.
files:
M Lib/test/test_listcomps.py
diff --git a/Lib/test/test_listcomps.py b/Lib/test/test_listcomps.py
index 1f8265f077e..ddb169fe589 100644
--- a/Lib/test/test_listcomps.py
+++ b/Lib/test/test_listcomps.py
@@ -139,7 +139,7 @@ def test_main(verbose=None):
import gc
counts = [None] * 5
for i in range(len(counts)):
- support.run_doctest(test_genexps, verbose)
+ support.run_doctest(test_listcomps, verbose)
gc.collect()
counts[i] = sys.gettotalrefcount()
print(counts)
More information about the Python-checkins
mailing list