]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
I don't understand it either...
authorMichael W. Hudson <mwh@python.net>
Thu, 14 Mar 2002 17:06:55 +0000 (17:06 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 14 Mar 2002 17:06:55 +0000 (17:06 +0000)
backport jhylton's checkin of
    revision 1.7 of test_pyclbr.py

Fix pyclbr test of httplib without really understanding pyclbr.

It seems that the new class HTTP11 in httplib.test() isn't
discoverable by pyclbr, which causes this test to fail.

Lib/test/test_pyclbr.py

index 1a241cfa8e877aadc2df8cb7480fab2b21c2bccb..52fb2ad68bfd9809852a3ccb765e2a1a1ecd854b 100644 (file)
@@ -140,7 +140,8 @@ class PyclbrTest(unittest.TestCase):
         cm('aifc', ignore=('openfp',))    # set with =
 
         cm('httplib', ignore=('error',    # set with =
-                              'HTTPS'))   # not on all platforms
+                              'HTTPS',
+                              'HTTP11'))   # not on all platforms
 
         cm('Cookie', ignore=('__str__', 'Cookie')) # set with =