From: Nick Coghlan Date: Thu, 6 Jul 2006 13:35:27 +0000 (+0000) Subject: Ignore ImportWarning by default X-Git-Tag: v2.5b2~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6983bbe1552ee96f82a912d89ff12891305b571;p=thirdparty%2FPython%2Fcpython.git Ignore ImportWarning by default --- diff --git a/Lib/warnings.py b/Lib/warnings.py index 939184f7cacf..b7fac699766c 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -261,3 +261,4 @@ def _getcategory(category): # Module initialization _processoptions(sys.warnoptions) simplefilter("ignore", category=PendingDeprecationWarning, append=1) +simplefilter("ignore", category=ImportWarning, append=1)