summaryrefslogtreecommitdiffstats
path: root/Lib/warnings.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2006-07-06 13:35:27 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2006-07-06 13:35:27 (GMT)
commitb6983bbe1552ee96f82a912d89ff12891305b571 (patch)
tree5de3a6121a5e7ab55ad0e0fcdd249c38bfd756b0 /Lib/warnings.py
parent94a98e4fc67a5b450e84ad0a53feef365c9e41a0 (diff)
downloadcpython-b6983bbe1552ee96f82a912d89ff12891305b571.zip
cpython-b6983bbe1552ee96f82a912d89ff12891305b571.tar.gz
cpython-b6983bbe1552ee96f82a912d89ff12891305b571.tar.bz2
Ignore ImportWarning by default
Diffstat (limited to 'Lib/warnings.py')
-rw-r--r--Lib/warnings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py
index 939184f..b7fac69 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)