summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2017-07-29 18:38:24 (GMT)
committerGitHub <noreply@github.com>2017-07-29 18:38:24 (GMT)
commitb26cc82b2252dd54e73661a026b32e7808fef945 (patch)
tree87886238fbfd77c7ad477370d69d6741232c4f48 /Lib/test
parent8364feff6730f54063116b607605167d9027ce85 (diff)
downloadcpython-b26cc82b2252dd54e73661a026b32e7808fef945.zip
cpython-b26cc82b2252dd54e73661a026b32e7808fef945.tar.gz
cpython-b26cc82b2252dd54e73661a026b32e7808fef945.tar.bz2
[3.6] bpo-31027: Fix test_listcomps failure when run directly (GH-2939) (#2945)
Bug appears to be incomplete copy-paste-edit. (cherry picked from commit ceb93f4)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_listcomps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_listcomps.py b/Lib/test/test_listcomps.py
index 1f8265f..ddb169f 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)