summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_listcomps.py
diff options
context:
space:
mode:
authorZackery Spytz <Osmunda46@gmail.com>2017-07-29 16:05:55 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2017-07-29 16:05:55 (GMT)
commitceb93f4540981e3f9af66bd936920186aba813fc (patch)
tree5b330dc09d5bcc7a9c900e43703c2c8f0c55bfbc /Lib/test/test_listcomps.py
parentb331f80b4765c3201674a7ca8b35c9d4a65efe79 (diff)
downloadcpython-ceb93f4540981e3f9af66bd936920186aba813fc.zip
cpython-ceb93f4540981e3f9af66bd936920186aba813fc.tar.gz
cpython-ceb93f4540981e3f9af66bd936920186aba813fc.tar.bz2
bpo-31027: Fix test_listcomps failure when run directly (#2939)
Bug appears to be incomplete copy-paste-edit.
Diffstat (limited to 'Lib/test/test_listcomps.py')
-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)