]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport:
authorGuido van Rossum <guido@python.org>
Fri, 12 Jul 2002 16:03:09 +0000 (16:03 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 12 Jul 2002 16:03:09 +0000 (16:03 +0000)
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.

Lib/test/test_pyclbr.py

index 9e56e9e50205ca7e3695c9df508a57ee904962a1..36a39476bcaa661c80f5fb79de79d70961908d9c 100644 (file)
@@ -126,23 +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 =
-                              'HTTPS',
-                              'HTTP11'))   # not on all platforms
-
         cm('Cookie', ignore=('__str__', 'Cookie')) # set with =
 
         cm('sre_parse', ignore=('literal', # nested def