From: Tim Peters Date: Sun, 18 Jul 2004 00:00:03 +0000 (+0000) Subject: The Darwin-specific getproxies_internetconfig() was added to urllib, X-Git-Tag: v2.4a2~219 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa7809df023562780c0932bfc554ec8e6559cf37;p=thirdparty%2FPython%2Fcpython.git The Darwin-specific getproxies_internetconfig() was added to urllib, 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. --- diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index db1fc43bad24..4f2d5ea60a3a 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -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 *