commit | e2c9a6cea7f49cc7485ced3ed907c917e3ad656a | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sat Feb 18 04:14:16 2006 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sat Feb 18 04:14:16 2006 +0000 |
tree | 6d28acef9625c2075be879361341c90fe62d8205 | |
parent | 24f7cad6ca3140bf0dada04261cb372be658832e [diff] |
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.