]> granicus.if.org Git - python/commitdiff
The Darwin-specific getproxies_internetconfig() was added to urllib,
authorTim Peters <tim.peters@gmail.com>
Sun, 18 Jul 2004 00:00:03 +0000 (00:00 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 18 Jul 2004 00:00:03 +0000 (00:00 +0000)
causing test_pyclbr to fail on all other platforms.  Added that routine
to the urllib "ignore" list.
Removed the special case for "g" in the pickle module.  types.py deletes
"g" from its namespace; maybe it didn't always.  Whatever, the special
case isn't needed today.

Lib/test/test_pyclbr.py

index db1fc43bad24243ec913c975e1cc3c747c0f32c1..4f2d5ea60a3ac8a73e8743bf4afa4041d20b0cdb 100644 (file)
@@ -140,8 +140,8 @@ class PyclbrTest(TestCase):
         cm('cgi', ignore=('log',))      # set with = in module
         cm('mhlib')
         cm('urllib', ignore=('getproxies_registry',
-                             'open_https')) # not on all platforms
-        cm('pickle', ignore=('g',))     # from types import *
+                             'open_https',
+                             'getproxies_internetconfig',)) # not on all platforms
         cm('aifc', ignore=('openfp',))  # set with = in module
         cm('Cookie')
         cm('sre_parse', ignore=('dump',)) # from sre_constants import *