[Python-checkins] CVS: python/dist/src/Lib/test test_new.py,1.13,1.14

Finn Bock bckfnn@users.sourceforge.net
2001年12月09日 02:19:28 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv21503
Modified Files:
	test_new.py 
Log Message:
Moved a print statement outside the jython platform test. Otherwise
the output fails to compare correctly for jython. This change was part
of the original patch #403666.
Index: test_new.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_new.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** test_new.py	2001年03月23日 16:13:30	1.13
--- test_new.py	2001年12月09日 10:19:25	1.14
***************
*** 72,79 ****
 'Could not create a proper function object')
 
 # bogus test of new.code()
 # Note: Jython will never have new.code()
 if hasattr(new, 'code'):
- print 'new.code()'
 d = new.code(3, 3, 3, 3, codestr, (), (), (),
 "<string>", "<name>", 1, "", (), ())
--- 72,79 ----
 'Could not create a proper function object')
 
+ print 'new.code()'
 # bogus test of new.code()
 # Note: Jython will never have new.code()
 if hasattr(new, 'code'):
 d = new.code(3, 3, 3, 3, codestr, (), (), (),
 "<string>", "<name>", 1, "", (), ())

AltStyle によって変換されたページ (->オリジナル) /