From 622e9252c245e805481e585c91cd337c456d30ad Mon Sep 17 00:00:00 2001 From: Jiwoo Ahn Date: Sat, 26 Sep 2026 21:44:06 +0900 Subject: [PATCH] ci: run test_fstring on wasm-wasi (#8832) - Add test_fstring to the wasm-wasi test list. - Expect test_global to fail when unittest is frozen Assisted-by: Claude Code:claude-sonnet-5 Signed-off-by: Jiwoo Ahn --- .github/workflows/ci.yaml | 1 + Lib/test/test_fstring.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 79a48b120..81021c5b7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1007,6 +1007,7 @@ jobs: test_class test_genericpath test_grammar + test_fstring steps: - name: Skip wasm-wasi when rust sources did not change if: env.RUN_WASM_WASI != 'true' diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index fcf0c989c..b68e356e0 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py @@ -1243,6 +1243,7 @@ x = ( self.assertEqual(f'{3:}', '3') self.assertEqual(f'{3!s:}', '3') + @unittest.expectedFailureIf(unittest.__spec__.origin == "frozen", "TODO: RUSTPYTHON; frozen module repr has no 'from' path") def test_global(self): self.assertEqual(f'g:{a_global}', 'g:global variable') self.assertEqual(f'g:{a_global!r}', "g:'global variable'")