]> granicus.if.org Git - python/commitdiff
Ignore the posixfile deprecation warning for the test suite.
authorFred Drake <fdrake@acm.org>
Thu, 25 Oct 2001 18:11:10 +0000 (18:11 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 25 Oct 2001 18:11:10 +0000 (18:11 +0000)
Lib/test/test_sundry.py

index 7b1ff84338e0600618ac0a729e8cea116eae9758..627666ec1ee138330f1eb2c7bb2d183928793df3 100644 (file)
@@ -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