From: Terry Jan Reedy Date: Sat, 29 Jul 2017 18:38:24 +0000 (-0400) Subject: [3.6] bpo-31027: Fix test_listcomps failure when run directly (GH-2939) (#2945) X-Git-Tag: v3.6.3rc1~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b26cc82b2252dd54e73661a026b32e7808fef945;p=thirdparty%2FPython%2Fcpython.git [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) --- diff --git a/Lib/test/test_listcomps.py b/Lib/test/test_listcomps.py index 1f8265f077e6..ddb169fe5895 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)