[issue41003] test_copyreg: importing numpy changes warnings filters

STINNER Victor report at bugs.python.org
Wed Jun 17 09:08:42 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

The issue can be replaced by a fake numpy module:

$ cat Lib/numpy.py 
import warnings
warnings.simplefilter('ignore', UserWarning)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41003>
_______________________________________


More information about the Python-bugs-list mailing list