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.
This commit is contained in:
Finn Bock 2001-12-09 10:19:25 +00:00
parent 4ab7adbd94
commit d08011a0e1
1 changed files with 1 additions and 1 deletions

View File

@ -71,10 +71,10 @@ func()
verify(g['c'] == 3,
'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'):
print 'new.code()'
d = new.code(3, 3, 3, 3, codestr, (), (), (),
"<string>", "<name>", 1, "", (), ())
# test backwards-compatibility version with no freevars or cellvars