Kaydet (Commit) e1b93f28 authored tarafından Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Adapt test_pyclbr to the new version of urllib.py:

The new mac-specific functions must be ignored.
üst 23681931
...@@ -164,9 +164,13 @@ class PyclbrTest(TestCase): ...@@ -164,9 +164,13 @@ class PyclbrTest(TestCase):
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment