summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-25 18:11:10 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-25 18:11:10 (GMT)
commitb112481f128030f4627828287a98b38d9c7780f0 (patch)
tree540b67e104c9227cfcd1aadeb6faf48ee45f6e9a /Lib/test
parent70e368836421a2e8c08dbd043a1540ad56d7ae5c (diff)
downloadcpython-b112481f128030f4627828287a98b38d9c7780f0.zip
cpython-b112481f128030f4627828287a98b38d9c7780f0.tar.gz
cpython-b112481f128030f4627828287a98b38d9c7780f0.tar.bz2
Ignore the posixfile deprecation warning for the test suite.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sundry.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 7b1ff84..627666e 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