mirror of https://github.com/python/cpython
Ignore ImportWarning by default
This commit is contained in:
parent
94a98e4fc6
commit
b6983bbe15
|
@ -261,3 +261,4 @@ def _getcategory(category):
|
|||
# Module initialization
|
||||
_processoptions(sys.warnoptions)
|
||||
simplefilter("ignore", category=PendingDeprecationWarning, append=1)
|
||||
simplefilter("ignore", category=ImportWarning, append=1)
|
||||
|
|
Loading…
Reference in New Issue