STINNER Victor added the comment:
> How you got this warning? I can't reproduce.
Sorry, I forgot to mention that the warning only occurs if you run Python with
-Werror:
@selma$ ./python -Werror -m test test_warnings
Run tests sequentially
0:00:00 [1/1] test_warnings
Warning -- warnings.filters was modified by test_warnings
test_warnings failed (env changed)
1 test altered the execution environment:
test_warnings
Total duration: 2 sec
Tests result: SUCCESS
Moreover, the warning goes away if you don't run tests in verbose mode!?
haypo@selma$ ./python -Werror -m test -v test_warnings
...
1 test OK.
Total duration: 2 sec
Tests result: SUCCESS
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28688>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com