[Python-checkins] python/dist/src/Lib/test test_pyclbr.py,1.6.10.2,1.6.10.3

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Fri, 12 Jul 2002 09:03:12 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv21044

Modified Files:
      Tag: release22-maint
	test_pyclbr.py 
Log Message:
Backport:

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.


Index: test_pyclbr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pyclbr.py,v
retrieving revision 1.6.10.2
retrieving revision 1.6.10.3
diff -C2 -d -r1.6.10.2 -r1.6.10.3
*** test_pyclbr.py	5 Jun 2002 19:10:19 -0000	1.6.10.2
--- test_pyclbr.py	12 Jul 2002 16:03:09 -0000	1.6.10.3
***************
*** 127,146 ****
                               '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 =
--- 127,133 ----