]> granicus.if.org Git - python/commitdiff
Remove httplib from tested modules.
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 12 Jul 2002 15:54:37 +0000 (15:54 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 12 Jul 2002 15:54:37 +0000 (15:54 +0000)
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 ce352afc4616cab86e50a6e3aebb28e94b3bcc88..ae3a5bd769ff8dc2ca34838d329fff446147dc61 100644 (file)
@@ -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