[Python-checkins] python/dist/src/Lib/test regrtest.py,1.87,1.88 test_atexit.py,1.4,1.5 test_b1.py,1.47,1.48 test_generators.py,1.34,1.35 test_httplib.py,1.7,1.8 test_signal.py,1.10,1.11 test_types.py,1.34,1.35

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 16 Jul 2002 14:35:25 -0700


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

Modified Files:
	regrtest.py test_atexit.py test_b1.py test_generators.py 
	test_httplib.py test_signal.py test_types.py 
Log Message:
Whitespace normalization.


Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** regrtest.py	4 Jul 2002 19:45:06 -0000	1.87
--- regrtest.py	16 Jul 2002 21:35:23 -0000	1.88
***************
*** 712,742 ****
          """,
      'atheos':
! 	"""
! 	test_al
! 	test_cd
! 	test_cl
! 	test_curses
! 	test_dl
! 	test_email_codecs
! 	test_gdbm
! 	test_gl
! 	test_imgfile
! 	test_largefile
! 	test_linuxaudiodev
! 	test_locale
! 	test_mhlib
! 	test_mmap
! 	test_mpz
! 	test_nis
! 	test_poll
! 	test_popen2
! 	test_resource
! 	test_socket_ssl
! 	test_socketserver
! 	test_sunaudiodev
! 	test_unicode_file
! 	test_winreg
! 	test_winsound
! 	""",
  }
  
--- 712,742 ----
          """,
      'atheos':
!         """
!         test_al
!         test_cd
!         test_cl
!         test_curses
!         test_dl
!         test_email_codecs
!         test_gdbm
!         test_gl
!         test_imgfile
!         test_largefile
!         test_linuxaudiodev
!         test_locale
!         test_mhlib
!         test_mmap
!         test_mpz
!         test_nis
!         test_poll
!         test_popen2
!         test_resource
!         test_socket_ssl
!         test_socketserver
!         test_sunaudiodev
!         test_unicode_file
!         test_winreg
!         test_winsound
!         """,
  }
  

Index: test_atexit.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_atexit.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_atexit.py	16 Jul 2002 19:30:58 -0000	1.4
--- test_atexit.py	16 Jul 2002 21:35:23 -0000	1.5
***************
*** 39,43 ****
  sys.exitfunc = direct
  
! # Make sure atexit doesn't drop 
  def indirect():
      print "indirect exit"
--- 39,43 ----
  sys.exitfunc = direct
  
! # Make sure atexit doesn't drop
  def indirect():
      print "indirect exit"

Index: test_b1.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b1.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** test_b1.py	6 Jun 2002 15:45:38 -0000	1.47
--- test_b1.py	16 Jul 2002 21:35:23 -0000	1.48
***************
*** 103,109 ****
  print 'complex'
  class OS:
!    def __complex__(self): return 1+10j
  class NS(object):
!    def __complex__(self): return 1+10j
  if complex(OS()) != 1+10j: raise TestFailed, '__complex__ in old style class'
  if complex(NS()) != 1+10j: raise TestFailed, '__complex__ in new style class'
--- 103,109 ----
  print 'complex'
  class OS:
!     def __complex__(self): return 1+10j
  class NS(object):
!     def __complex__(self): return 1+10j
  if complex(OS()) != 1+10j: raise TestFailed, '__complex__ in old style class'
  if complex(NS()) != 1+10j: raise TestFailed, '__complex__ in new style class'

Index: test_generators.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_generators.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** test_generators.py	12 Jun 2002 03:45:20 -0000	1.34
--- test_generators.py	16 Jul 2002 21:35:23 -0000	1.35
***************
*** 815,819 ****
  ...         finally:
  ...             yield i
! ... 
  >>> g = f()
  >>> print g.next()
--- 815,819 ----
  ...         finally:
  ...             yield i
! ...
  >>> g = f()
  >>> print g.next()

Index: test_httplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_httplib.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_httplib.py	12 Jul 2002 14:04:09 -0000	1.7
--- test_httplib.py	16 Jul 2002 21:35:23 -0000	1.8
***************
*** 57,59 ****
  if cookies != hdr:
      raise AssertionError, "multiple headers not combined properly"
-                
--- 57,58 ----

Index: test_signal.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_signal.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_signal.py	27 May 2002 15:08:23 -0000	1.10
--- test_signal.py	16 Jul 2002 21:35:23 -0000	1.11
***************
*** 126,128 ****
          else:
              raise TestFailed, "sigsupsend didn't raise"
-     
--- 126,127 ----

Index: test_types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_types.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** test_types.py	21 Jun 2002 02:14:10 -0000	1.34
--- test_types.py	16 Jul 2002 21:35:23 -0000	1.35
***************
*** 212,216 ****
      vereq(a[100:-100:-1], a[::-1])
      vereq(a[-100L:100L:2L], unicode('02468', 'ascii'))
!     
  
  print '6.5.2 Tuples'
--- 212,216 ----
      vereq(a[100:-100:-1], a[::-1])
      vereq(a[-100L:100L:2L], unicode('02468', 'ascii'))
! 
  
  print '6.5.2 Tuples'