From: Finn Bock Date: Sun, 9 Dec 2001 10:19:25 +0000 (+0000) Subject: Moved a print statement outside the jython platform test. Otherwise X-Git-Tag: v2.2.1c1~457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d08011a0e1ec2f3eeaa089ba69eb9ba68941277f;p=python 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. --- diff --git a/Lib/test/test_new.py b/Lib/test/test_new.py index ab5eedec47..641d9c2b0d 100644 --- a/Lib/test/test_new.py +++ b/Lib/test/test_new.py @@ -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, (), (), (), "", "", 1, "", (), ()) # test backwards-compatibility version with no freevars or cellvars