mirror of
https://github.com/python/cpython.git
synced 2025-09-29 03:35:31 +00:00
[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
)
This commit is contained in:
parent
8364feff67
commit
b26cc82b22
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue