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
1 changed files with 5 additions and 1 deletions

View File

@ -164,9 +164,13 @@ class PyclbrTest(TestCase):
# These were once about the 10 longest modules
cm('random', ignore=('Random',)) # from _random import Random as CoreGenerator
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_macosx_sysconf',
'open_https',
'getproxies_macosx_sysconf',
'getproxies_internetconfig',)) # not on all platforms
cm('pickle')
cm('aifc', ignore=('openfp',)) # set with = in module