diff options
author | Finn Bock <bckfnn@worldonline.dk> | 2001-12-09 10:19:25 (GMT) |
---|---|---|
committer | Finn Bock <bckfnn@worldonline.dk> | 2001-12-09 10:19:25 (GMT) |
commit | d08011a0e1ec2f3eeaa089ba69eb9ba68941277f (patch) | |
tree | f1c8591133ee7fad96356fdce39c40ff7cdc6255 /Lib/test | |
parent | 4ab7adbd944c72b9f308e940524ca31a10e52bd8 (diff) | |
download | cpython-d08011a0e1ec2f3eeaa089ba69eb9ba68941277f.zip cpython-d08011a0e1ec2f3eeaa089ba69eb9ba68941277f.tar.gz cpython-d08011a0e1ec2f3eeaa089ba69eb9ba68941277f.tar.bz2 |
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.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_new.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, (), (), (), "<string>", "<name>", 1, "", (), ()) # test backwards-compatibility version with no freevars or cellvars |