From 5dd09bb5df2611204497b41aa59dc8245e1a0028 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 27 Feb 2001 21:51:47 +0000 Subject: No need to call filterwarnings() to suppress further warnings from this module; that won't happen. --- Lib/TERMIOS.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/TERMIOS.py b/Lib/TERMIOS.py index 0b96e55..66795fc 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 * -- cgit v0.12