Skip to content

test_array modifies warnings.filter#106162

@vstinner

Description

@vstinner
$ ./python -m test test_array --fail-env-changed -m test.test_array.ArrayReconstructorTest.test_error 0:00:00 load avg: 17.75 Run tests sequentially 0:00:00 load avg: 17.75 [1/1] test_array Warning -- warnings.filters was modified by test_array Warning -- Before: (140159909806320, [], []) Warning -- After: (140159909806320, [], [('ignore', re.compile("The 'u' type code is deprecated and will be removed in Python 3.16", re.IGNORECASE), <class 'DeprecationWarning'>, None, 0)]) test_array failed (env changed) == Tests result: ENV CHANGED == 1 test altered the execution environment: test_array Total duration: 321 ms Tests result: ENV CHANGED 

cc @methane@hugovk

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions