mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
test: escape literal filename in benchmark timeout assertion
This commit is contained in:
parent
abf159911f
commit
1006cad119
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue