diff --git a/tests/rust-python-harness/strategies/e2e_benchmark/test_benchmark.py b/tests/rust-python-harness/strategies/e2e_benchmark/test_benchmark.py index e62ceaefd95..84a3b0b541f 100644 --- a/tests/rust-python-harness/strategies/e2e_benchmark/test_benchmark.py +++ b/tests/rust-python-harness/strategies/e2e_benchmark/test_benchmark.py @@ -124,7 +124,7 @@ def test_worker_deadline_terminates_and_reaps_the_process(tmp_path: Path, sample existing_children: Final = frozenset(process.pid for process in psutil.Process().children()) start: Final = monotonic() with (tmp_path / "worker.log").open("w+") as log: - with pytest.raises(TimeoutError, match="timed out waiting for missing.json"): + with pytest.raises(TimeoutError, match=r"timed out waiting for missing\.json"): with sdk_process(case_file, "python", REPO_ROOT, log) as child: tuple( wait_for_output(