Ignore ImportWarning by default

This commit is contained in:
Nick Coghlan 2006-07-06 13:35:27 +00:00
parent 94a98e4fc6
commit b6983bbe15
1 changed files with 1 additions and 0 deletions

View File

@ -261,3 +261,4 @@ def _getcategory(category):
# Module initialization # Module initialization
_processoptions(sys.warnoptions) _processoptions(sys.warnoptions)
simplefilter("ignore", category=PendingDeprecationWarning, append=1) simplefilter("ignore", category=PendingDeprecationWarning, append=1)
simplefilter("ignore", category=ImportWarning, append=1)