Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mark failing test in test_keywordonlyarg.py
  • Loading branch information
ShaharNaveh committed Sep 20, 2025
commit 15472a0319b865b0aeabae76d36d6988e8668b52
1 change: 1 addition & 0 deletions Lib/test/test_keywordonlyarg.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def shouldRaiseSyntaxError(s):
compile(s, "<test>", "single")
self.assertRaises(SyntaxError, shouldRaiseSyntaxError, codestr)

@unittest.expectedFailureIf(__import__('sys').platform == 'linux', 'TODO: RUSTPYTHON; AssertionError: SyntaxError not raised by shouldRaiseSyntaxError')
def testSyntaxErrorForFunctionDefinition(self):
self.assertRaisesSyntaxError("def f(p, *):\n pass\n")
self.assertRaisesSyntaxError("def f(p1, *, p1=100):\n pass\n")
Expand Down
Loading