mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
Remove httplib from tested modules.
The test of httplib makes it difficult to maintain httplib. There are two many idioms that pyclbr doesn't seem to understand, and I don't understand how to update these tests to make them work. Also remove commented out test of urllib2.
This commit is contained in:
parent
98013be797
commit
b2622a452a
@ -126,25 +126,10 @@ class PyclbrTest(unittest.TestCase):
|
||||
'getproxies_registry', # set with =
|
||||
'open_https')) # not on all platforms
|
||||
|
||||
#XXXX bad example
|
||||
#cm('urllib2', ignore=('at_cnri', # defined inside __main__
|
||||
# '__super_init', # set with =.
|
||||
# '_HTTPError__super_init', # set with =.
|
||||
# 'http_error_301', # set with =.
|
||||
# ))
|
||||
|
||||
|
||||
|
||||
cm('pickle', ignore=('g',)) # deleted declaration
|
||||
|
||||
cm('aifc', ignore=('openfp',)) # set with =
|
||||
|
||||
cm('httplib', ignore=('error', # set with =
|
||||
'sendall', # set with =
|
||||
'_closedsocket', # it's a nested class
|
||||
'HTTPS',
|
||||
'HTTP11')) # not on all platforms
|
||||
|
||||
cm('Cookie', ignore=('__str__', 'Cookie')) # set with =
|
||||
|
||||
cm('sre_parse', ignore=('literal', # nested def
|
||||
|
Loading…
Reference in New Issue
Block a user