From b6983bbe1552ee96f82a912d89ff12891305b571 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Thu, 6 Jul 2006 13:35:27 +0000 Subject: [PATCH] Ignore ImportWarning by default --- Lib/warnings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/warnings.py b/Lib/warnings.py index 939184f7ca..b7fac69976 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) -- 2.40.0