Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313fcd4 commit 2a8ec99Copy full SHA for 2a8ec99
1 file changed
Lib/test/test_urllib2.py
@@ -704,6 +704,11 @@ def test_ftp(self):
704
self._test_urls(urls, self._extra_handlers())
705
706
def test_gopher(self):
707
+ import warnings
708
+ warnings.filterwarnings("ignore",
709
+ "the gopherlib module is deprecated",
710
+ DeprecationWarning,
711
+ "urllib2$")
712
urls = [
713
# Thanks to Fred for finding these!
714
'gopher://gopher.lib.ncsu.edu/11/library/stacks/Alex',
0 commit comments