← 输入框|github.com|刷新
Skip to content

test_import leaks references #127738

Closed
Closed

Description

@Eclips4

Bug report

Bug description:

clips4@nixos ~/p/p/cpython (main) [2]> ./python -m test -R 3:3 test_import
Using random seed: 4113035587
0:00:00 load avg: 2.84 Run 1 test sequentially in a single process
0:00:00 load avg: 2.84 [1/1] test_import
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XXX XXX
test_import leaked [52, 54, 51] references, sum=157
test_import leaked [34, 34, 33] memory blocks, sum=101
test_import failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_import

Total duration: 29.2 sec
Total tests: run=116 skipped=3
Total test files: run=1/1 failed=1
Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Activity

  1. added
    type-bug
    on Dec 8, 2024
  2. changed the title [-]``test_importlib`` leaks references[/-] [+]``test_import`` leaks references[/+] on Dec 8, 2024
  3. Eclips4 commented on Dec 8, 2024

    @Eclips4
    MemberAuthor

    Bisected to 023b7d2
    cc @markshannon

  4. added
    tests
    3.14
    on Dec 8, 2024
  5. self-assigned this
    on Dec 9, 2024
  6. markshannon commented on Dec 9, 2024

    @markshannon
    Member

    I'm looking into it.

  7. markshannon commented on Jan 8, 2025

    @markshannon
    Member

    #127519 was reverted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.14teststype-bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions