Skip to content

Commit 86984a0

Browse files
committed
Unmark passing tests
1 parent e6bf997 commit 86984a0

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎Lib/test/test_generators.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2525,7 +2525,7 @@ def printsolution(self, x):
25252525
...
25262526
SyntaxError: 'yield from' outside function
25272527
2528-
>>> def f(): x = yield = y # TODO: RUSTPYTHON # doctest: +EXPECTED_FAILURE
2528+
>>> def f(): x = yield = y
25292529
Traceback (most recent call last):
25302530
...
25312531
SyntaxError: assignment to yield expression not possible

‎Lib/test/test_genexps.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
155155
Verify that syntax error's are raised for genexps used as lvalues
156156
157-
>>> (y for y in (1,2)) = 10 # TODO: RUSTPYTHON # doctest: +EXPECTED_FAILURE
157+
>>> (y for y in (1,2)) = 10
158158
Traceback (most recent call last):
159159
...
160160
SyntaxError: cannot assign to generator expression

‎Lib/test/test_named_expressions.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def test_named_expression_invalid_14(self):
9090
with self.assertRaisesRegex(SyntaxError, "invalid syntax"):
9191
exec(code, {}, {})
9292

93-
@unittest.expectedFailure # TODO: RUSTPYTHON; wrong error message
9493
def test_named_expression_invalid_15(self):
9594
code = """(lambda: x := 1)"""
9695

0 commit comments

Comments
 (0)