mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Ignore ImportWarning by default
This commit is contained in:
parent
94a98e4fc6
commit
b6983bbe15
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue