Commit 2a8ec996 authored by Tim Peters's avatar Tim Peters

test_gopher(): Squash another deprecation

warning about gopherlib.
parent 313fcd41
......@@ -704,6 +704,11 @@ class NetworkTests(unittest.TestCase):
self._test_urls(urls, self._extra_handlers())
def test_gopher(self):
import warnings
warnings.filterwarnings("ignore",
"the gopherlib module is deprecated",
DeprecationWarning,
"urllib2$")
urls = [
# Thanks to Fred for finding these!
'gopher://gopher.lib.ncsu.edu/11/library/stacks/Alex',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment