Commit ceb93f45 authored by Zackery Spytz's avatar Zackery Spytz Committed by Terry Jan Reedy

bpo-31027: Fix test_listcomps failure when run directly (#2939)

Bug appears to be incomplete copy-paste-edit.
parent b331f80b
...@@ -139,7 +139,7 @@ def test_main(verbose=None): ...@@ -139,7 +139,7 @@ def test_main(verbose=None):
import gc import gc
counts = [None] * 5 counts = [None] * 5
for i in range(len(counts)): for i in range(len(counts)):
support.run_doctest(test_genexps, verbose) support.run_doctest(test_listcomps, verbose)
gc.collect() gc.collect()
counts[i] = sys.gettotalrefcount() counts[i] = sys.gettotalrefcount()
print(counts) print(counts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment