Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_importlib leaks references #116777

Closed
Eclips4 opened this issue Mar 14, 2024 · 1 comment
Closed

test_importlib leaks references #116777

Eclips4 opened this issue Mar 14, 2024 · 1 comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member

Eclips4 commented Mar 14, 2024

Bug report

Bug description:

./python.exe -m test -R 3:3 test_importlib
Using random seed: 3606634477
0:00:00 load avg: 2.94 Run 1 test sequentially
0:00:00 load avg: 2.94 [1/1] test_importlib
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XXX 511
test_importlib leaked [5, 1, 1] references, sum=7
test_importlib leaked [2, 1, 1] memory blocks, sum=4
test_importlib failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_importlib

Total duration: 18.8 sec
Total tests: run=1,274 skipped=6
Total test files: run=1/1 failed=1
Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

@Eclips4 Eclips4 added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Mar 14, 2024
@sobolevn
Copy link
Member

Duplicate of #116731

@sobolevn sobolevn marked this as a duplicate of #116731 Mar 14, 2024
@sobolevn sobolevn closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants