[Python-checkins] CVS: python/dist/src/Lib/test test_b2.py,1.28,1.29

Finn Bock bckfnn@users.sourceforge.net
Fri, 07 Dec 2001 10:21:58 -0800


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

Modified Files:
	test_b2.py 
Log Message:
Align the number of %s with the number of format arguments.


This closes patch "[ #490330 ] String format bug in test_b2."




Index: test_b2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b2.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** test_b2.py	2001/09/03 08:35:40	1.28
--- test_b2.py	2001/12/07 18:21:56	1.29
***************
*** 100,105 ****
                      pass
                  else:
!                     raise TestFailed("3-arg float pow() should have "
!                                      "raised TypeError %r" % (x, y, z))
              else:
                  if fcmp(pow(x, y, z), 24.0):
--- 100,105 ----
                      pass
                  else:
!                     raise TestFailed("3-arg float pow(%s, %s, %s) should "
!                                      "have raised TypeError" % (x, y, z))
              else:
                  if fcmp(pow(x, y, z), 24.0):