diff --git a/tests/studio/playwright_chat_ime_i18n.py b/tests/studio/playwright_chat_ime_i18n.py index afc089b473..7e843ac58f 100644 --- a/tests/studio/playwright_chat_ime_i18n.py +++ b/tests/studio/playwright_chat_ime_i18n.py @@ -472,9 +472,7 @@ with sync_playwright() as p: ) after_value = read_value() if "你好" not in after_value: - soft_fail( - f"compositionend-watchdog repro lost committed text: {after_value!r}" - ) + soft_fail(f"compositionend-watchdog repro lost committed text: {after_value!r}") shoot("06b-compositionend-watchdog") info("compositionend watchdog recovery PASS") clear() diff --git a/tests/studio/test_composer_rtl_bidi_attribute.py b/tests/studio/test_composer_rtl_bidi_attribute.py index 588bc38b3f..591e731b0f 100644 --- a/tests/studio/test_composer_rtl_bidi_attribute.py +++ b/tests/studio/test_composer_rtl_bidi_attribute.py @@ -80,8 +80,7 @@ def test_main_composer_has_stuck_compositionend_watchdog(): forever and CJK input is effectively dropped.""" src = THREAD_TSX.read_text() assert "IME_STUCK_TIMEOUT_MS" in src, ( - "main composer is missing the stuck-compositionend watchdog " - "(issue #5546)" + "main composer is missing the stuck-compositionend watchdog " "(issue #5546)" ) assert "onCompositionUpdate" in src, ( "main composer is missing onCompositionUpdate wiring; the " @@ -92,9 +91,8 @@ def test_main_composer_has_stuck_compositionend_watchdog(): def test_compare_composer_has_stuck_compositionend_watchdog(): src = SHARED_TSX.read_text() assert "IME_STUCK_TIMEOUT_MS" in src, ( - "compare composer is missing the stuck-compositionend watchdog " - "(issue #5546)" - ) - assert "onCompositionUpdate" in src, ( - "compare composer is missing onCompositionUpdate wiring" + "compare composer is missing the stuck-compositionend watchdog " "(issue #5546)" ) + assert ( + "onCompositionUpdate" in src + ), "compare composer is missing onCompositionUpdate wiring"