From: Fred Drake Date: Thu, 25 Oct 2001 18:11:10 +0000 (+0000) Subject: Ignore the posixfile deprecation warning for the test suite. X-Git-Tag: v2.2.1c1~1057 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b112481f128030f4627828287a98b38d9c7780f0;p=python Ignore the posixfile deprecation warning for the test suite. --- diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index 7b1ff84338..627666ec1e 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -1,5 +1,8 @@ """Do a minimal test of all the modules that aren't otherwise tested.""" +import warnings +warnings.filterwarnings('ignore', '', DeprecationWarning, 'posixfile') + from test_support import verbose import BaseHTTPServer