bpo-31027: Fix test_listcomps failure when run directly (#2939)
Bug appears to be incomplete copy-paste-edit.
This commit is contained in:
parent
b331f80b47
commit
ceb93f4540
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue