Skip to content

test_io leaked [2, 2, 2] references, sum=6 on main branch #94857

Closed

Description

@kumaraditya303

test.test_io.CTextIOWrapperTest.test_reconfigure_locale is leaking on main branch.

@kumaraditya303 ➜ /workspaces/cpython (io ✗) $ ./python -m test -R 3:3 test_io -m test_reconfigure_locale
0:00:00 load avg: 1.24 Run tests sequentially
0:00:00 load avg: 1.24 [1/1] test_io
beginning 6 repetitions
123456
......
test_io leaked [2, 2, 2] references, sum=6
test_io failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_io

Total duration: 314 ms
Tests result: FAILURE

Activity

  1. kumaraditya303 commented on Jul 14, 2022

    @kumaraditya303
    ContributorAuthor
  2. kumaraditya303 commented on Jul 14, 2022

    @kumaraditya303
    ContributorAuthor

    Reproduced on 3.11 branch:

    @kumaraditya303 ➜ /workspaces/cpython (3.11) $ ./python -m test -R 3:3 test_io -m test_reconfigure_locale
    0:00:00 load avg: 15.27 Run tests sequentially
    0:00:00 load avg: 15.27 [1/1] test_io
    beginning 6 repetitions
    123456
    ......
    test_io leaked [2, 2, 2] references, sum=6
    test_io failed (reference leak)
    
    == Tests result: FAILURE ==
    
    1 test failed:
        test_io
    
    Total duration: 552 ms
    Tests result: FAILURE
  3. added 3 commits that reference this issue on Jul 18, 2022
  4. kumaraditya303 commented on Jul 18, 2022

    @kumaraditya303
    ContributorAuthor

    Fixed by #94858

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

Metadata

Metadata

Labels

3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions