Adapt test_pyclbr to the new version of urllib.py:

The new mac-specific functions must be ignored.
This commit is contained in:
Amaury Forgeot d'Arc 2008-05-12 22:21:39 +00:00
parent 236819310d
commit e1b93f2855

View file

@ -164,9 +164,13 @@ def test_others(self):
# These were once about the 10 longest modules # These were once about the 10 longest modules
cm('random', ignore=('Random',)) # from _random import Random as CoreGenerator cm('random', ignore=('Random',)) # from _random import Random as CoreGenerator
cm('cgi', ignore=('log',)) # set with = in module cm('cgi', ignore=('log',)) # set with = in module
cm('urllib', ignore=('getproxies_registry', cm('urllib', ignore=('_CFNumberToInt32',
'_CStringFromCFString',
'getproxies_registry',
'proxy_bypass_registry', 'proxy_bypass_registry',
'proxy_bypass_macosx_sysconf',
'open_https', 'open_https',
'getproxies_macosx_sysconf',
'getproxies_internetconfig',)) # not on all platforms 'getproxies_internetconfig',)) # not on all platforms
cm('pickle') cm('pickle')
cm('aifc', ignore=('openfp',)) # set with = in module cm('aifc', ignore=('openfp',)) # set with = in module