]> granicus.if.org Git - python/commit
Suppress new deprecation warnings when running the
authorTim Peters <tim.peters@gmail.com>
Sat, 18 Feb 2006 04:14:16 +0000 (04:14 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 18 Feb 2006 04:14:16 +0000 (04:14 +0000)
commite2c9a6cea7f49cc7485ced3ed907c917e3ad656a
tree6d28acef9625c2075be879361341c90fe62d8205
parent24f7cad6ca3140bf0dada04261cb372be658832e
Suppress new deprecation warnings when running the
test suite.

For urllib2, move the import of gopherlib into the
only function that uses it:  users (including the
test suite) certainly shouldn't see a deprecation
warning just because they import urllib2!  If they
actually use gopher_open(), fine, _then_ they should
see a deprecation warning.
Lib/test/test___all__.py
Lib/test/test_imageop.py
Lib/test/test_sundry.py
Lib/urllib2.py