Serhiy Storchaka <[email protected]> added the comment:
This test is failed with -We.
$ ./python -We -m test -v test_warnings
...
======================================================================
ERROR: test_module_globals (test.test_warnings.CFilterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_warnings/__init__.py", line 226,
in test_module_globals
module_globals=None)
UserWarning: msg
======================================================================
ERROR: test_module_globals (test.test_warnings.PyFilterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_warnings/__init__.py", line 226,
in test_module_globals
module_globals=None)
File "/home/serhiy/py/cpython/Lib/warnings.py", line 375, in warn_explicit
raise message
UserWarning: msg
----------------------------------------------------------------------
----------
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33509>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com