diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-05-16 22:42:29 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-05-16 22:42:29 (GMT) |
commit | d75f043c3325be6c1fdbc840a5d2358c1e8aa604 (patch) | |
tree | 107af217fc952fd66b5197545cbbcb6ba67c333e /Lib/test/test_sundry.py | |
parent | b1a9b37aa836f1c0f827b16cebdd23dfe19fcf4c (diff) | |
download | cpython-d75f043c3325be6c1fdbc840a5d2358c1e8aa604.zip cpython-d75f043c3325be6c1fdbc840a5d2358c1e8aa604.tar.gz cpython-d75f043c3325be6c1fdbc840a5d2358c1e8aa604.tar.bz2 |
Remove the gopherlib module. It has been raising a DeprecationWarning since
Python 2.5.
Also remove gopher support from urllib/urllib2. As both imported gopherlib the
usage of the support would have raised a DeprecationWarning.
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r-- | Lib/test/test_sundry.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py index f19467c..42ee257 100644 --- a/Lib/test/test_sundry.py +++ b/Lib/test/test_sundry.py @@ -4,11 +4,6 @@ import warnings warnings.filterwarnings('ignore', r".*posixfile module", DeprecationWarning, 'posixfile$') -warnings.filterwarnings("ignore", - "the gopherlib module is deprecated", - DeprecationWarning, - ".*test_sundry") - from test.test_support import verbose import BaseHTTPServer @@ -27,7 +22,6 @@ import encodings import formatter import ftplib import getpass -import gopherlib import htmlentitydefs import ihooks import imghdr |