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 tests
  • Loading branch information
ShaharNaveh committed Sep 22, 2025
commit 9fa8a57e5acbaf91a223e6b5e14e6a09aee589a5
3 changes: 3 additions & 0 deletions Lib/test/test_future_stmt/test_future.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def _exec_future(self, code):
)
return scope

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 'a,' != '(a,)'
def test_annotations(self):
eq = self.assertAnnotationEqual
eq('...')
Expand Down Expand Up @@ -362,6 +363,7 @@ def test_annotations(self):
eq('(((a, b)))', '(a, b)')
eq("1 + 2 + 3")

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "f'{x=!r}'" != "f'x={x!r}'"
def test_fstring_debug_annotations(self):
# f-strings with '=' don't round trip very well, so set the expected
# result explicitly.
Expand All @@ -372,6 +374,7 @@ def test_fstring_debug_annotations(self):
self.assertAnnotationEqual("f'{x=!a}'", expected="f'x={x!a}'")
self.assertAnnotationEqual("f'{x=!s:*^20}'", expected="f'x={x!s:*^20}'")

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: '1e309, 1e309j' != '(1e309, 1e309j)'
def test_infinity_numbers(self):
inf = "1e" + repr(sys.float_info.max_10_exp + 1)
infj = f"{inf}j"
Expand Down
Loading