Skip to content
Merged
Show file tree
Hide file tree
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
unmark passing tests
  • Loading branch information
ShaharNaveh committed May 19, 2026
commit 91147a87426aa9fc3f462303127f78f4e072f4b0
2 changes: 1 addition & 1 deletion Lib/test/test_metaclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@

Check for duplicate keywords.

>>> class C(metaclass=type, metaclass=type): pass # TODO: RUSTPYTHON # doctest: +EXPECTED_FAILURE
>>> class C(metaclass=type, metaclass=type): pass
...
Traceback (most recent call last):
[...]
Expand Down
3 changes: 0 additions & 3 deletions Lib/test/test_positional_only_arg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def assertRaisesSyntaxError(self, codestr, regex="invalid syntax"):
with self.assertRaisesRegex(SyntaxError, regex):
compile(codestr + "\n", "<test>", "single")

@unittest.expectedFailure # TODO: RUSTPYTHON; wrong error message
def test_invalid_syntax_errors(self):
check_syntax_error(self, "def f(a, b = 5, /, c): pass", "parameter without a default follows parameter with a default")
check_syntax_error(self, "def f(a = 5, b, /, c): pass", "parameter without a default follows parameter with a default")
Expand All @@ -46,7 +45,6 @@ def test_invalid_syntax_errors(self):
check_syntax_error(self, "def f(a, /, c, /, d, *, e): pass")
check_syntax_error(self, "def f(a, *, c, /, d, e): pass")

@unittest.expectedFailure # TODO: RUSTPYTHON; wrong error message
def test_invalid_syntax_errors_async(self):
check_syntax_error(self, "async def f(a, b = 5, /, c): pass", "parameter without a default follows parameter with a default")
check_syntax_error(self, "async def f(a = 5, b, /, c): pass", "parameter without a default follows parameter with a default")
Expand Down Expand Up @@ -235,7 +233,6 @@ def test_lambdas(self):
x = lambda a, b, /, : a + b
self.assertEqual(x(1, 2), 3)

@unittest.expectedFailure # TODO: RUSTPYTHON; wrong error message
def test_invalid_syntax_lambda(self):
check_syntax_error(self, "lambda a, b = 5, /, c: None", "parameter without a default follows parameter with a default")
check_syntax_error(self, "lambda a = 5, b, /, c: None", "parameter without a default follows parameter with a default")
Expand Down
Loading