mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
note a really bad test (no time to fix now)
This commit is contained in:
parent
b25aa36f83
commit
84a7f0077c
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ print 'new.code()'
|
|||
# bogus test of new.code()
|
||||
# Note: Jython will never have new.code()
|
||||
if hasattr(new, 'code'):
|
||||
# XXX should use less criminally bogus arguments!
|
||||
d = new.code(3, 3, 3, 3, codestr, (), (), (),
|
||||
"<string>", "<name>", 1, "", (), ())
|
||||
# test backwards-compatibility version with no freevars or cellvars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue