From d08011a0e1ec2f3eeaa089ba69eb9ba68941277f Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Sun, 9 Dec 2001 10:19:25 +0000 Subject: 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. --- Lib/test/test_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_new.py b/Lib/test/test_new.py index ab5eede..641d9c2 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 -- cgit v0.12