Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84a7f00

Browse files
author
Michael W. Hudson
committed
note a really bad test (no time to fix now)
1 parent b25aa36 commit 84a7f00

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_new.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def test_closure(func, closure, exc):
9999
# bogus test of new.code()
100100
# Note: Jython will never have new.code()
101101
if hasattr(new, 'code'):
102+
# XXX should use less criminally bogus arguments!
102103
d = new.code(3, 3, 3, 3, codestr, (), (), (),
103104
"<string>", "<name>", 1, "", (), ())
104105
# test backwards-compatibility version with no freevars or cellvars

0 commit comments

Comments
 (0)