From: Fred Drake Date: Tue, 27 Feb 2001 21:51:47 +0000 (+0000) Subject: No need to call filterwarnings() to suppress further warnings from this X-Git-Tag: v2.1b1~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dd09bb5df2611204497b41aa59dc8245e1a0028;p=python No need to call filterwarnings() to suppress further warnings from this module; that won't happen. --- diff --git a/Lib/TERMIOS.py b/Lib/TERMIOS.py index 0b96e554b3..66795fc483 100644 --- a/Lib/TERMIOS.py +++ b/Lib/TERMIOS.py @@ -6,9 +6,6 @@ import warnings warnings.warn("the TERMIOS module is deprecated; please use termios", DeprecationWarning) -# Ignore further deprecation warnings about this module -warnings.filterwarnings("ignore", "", DeprecationWarning, __name__) - # Export the constants known to the termios module: from termios import *