[Python-checkins] python/dist/src/Lib/test test_bsddb3.py,1.1,1.2 test_format.py,1.18,1.19 test_normalization.py,1.1,1.2

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Sat, 23 Nov 2002 18:35:37 -0800


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

Modified Files:
	test_bsddb3.py test_format.py test_normalization.py 
Log Message:
Whitespace normalization.


Index: test_bsddb3.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_bsddb3.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_bsddb3.py	19 Nov 2002 17:47:02 -0000	1.1
--- test_bsddb3.py	24 Nov 2002 02:35:35 -0000	1.2
***************
*** 58,60 ****
  
      unittest.main( defaultTest='suite' )
- 
--- 58,59 ----

Index: test_format.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_format.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** test_format.py	12 Nov 2002 23:01:12 -0000	1.18
--- test_format.py	24 Nov 2002 02:35:35 -0000	1.19
***************
*** 222,232 ****
  test_exc('%d', '1', TypeError, "int argument required")
  test_exc('%g', '1', TypeError, "float argument required")
! test_exc('no format', '1', TypeError, 
           "not all arguments converted during string formatting")
! test_exc('no format', u'1', TypeError, 
           "not all arguments converted during string formatting")
! test_exc(u'no format', '1', TypeError, 
           "not all arguments converted during string formatting")
! test_exc(u'no format', u'1', TypeError, 
           "not all arguments converted during string formatting")
  
--- 222,232 ----
  test_exc('%d', '1', TypeError, "int argument required")
  test_exc('%g', '1', TypeError, "float argument required")
! test_exc('no format', '1', TypeError,
           "not all arguments converted during string formatting")
! test_exc('no format', u'1', TypeError,
           "not all arguments converted during string formatting")
! test_exc(u'no format', '1', TypeError,
           "not all arguments converted during string formatting")
! test_exc(u'no format', u'1', TypeError,
           "not all arguments converted during string formatting")
  

Index: test_normalization.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_normalization.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_normalization.py	23 Nov 2002 22:08:15 -0000	1.1
--- test_normalization.py	24 Nov 2002 02:35:35 -0000	1.2
***************
*** 47,51 ****
      if verbose:
          print line
!     
      # Perform tests
      verify(c2 ==  NFC(c1) ==  NFC(c2) ==  NFC(c3), line)
--- 47,51 ----
      if verbose:
          print line
! 
      # Perform tests
      verify(c2 ==  NFC(c1) ==  NFC(c2) ==  NFC(c3), line)
***************
*** 66,68 ****
          continue
      assert X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c
-     
--- 66,67 ----