[issue26742] imports in test_warnings changes warnings.filters

2016-05-21 Thread Martin Panter
Martin Panter added the comment: I suggest to use the patch from Issue 18383. -- resolution: -> duplicate status: open -> closed superseder: -> test_warnings modifies warnings.filters when running with "-W default" ___ Python tracker

[issue26742] imports in test_warnings changes warnings.filters

2016-04-12 Thread Martin Panter
Martin Panter added the comment: Hmm your patch is a variation of the first patch in Issue 18383, and Serhiy’s comment about not fixing the underlying problem would apply: . I can’t remember all the details now, but it sounds like Alex’s later

[issue26742] imports in test_warnings changes warnings.filters

2016-04-12 Thread STINNER Victor
New submission from STINNER Victor: --- $ ./python -Wd -m test -j0 test_warnings Run tests in parallel using 6 child processes 0:00:01 [1/1] test_warnings (...) Warning -- warnings.filters was modified by test_warnings 1 test altered the execution environment: test_warnings Total duration: