[Python-checkins] CVS: python/dist/src/Lib/test test_new.py,1.13,1.14
Finn Bock
bckfnn@users.sourceforge.net
Sun, 09 Dec 2001 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, "", (), ())