From: Jeremy Hylton Date: Fri, 12 Jul 2002 15:54:37 +0000 (+0000) Subject: Remove httplib from tested modules. X-Git-Tag: v2.3c1~5018 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2622a452a71fcddf22c2990293d03c05a770bd9;p=python 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. --- diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index ce352afc46..ae3a5bd769 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -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