diff --git a/tests/studio/test_model_picker_contracts.py b/tests/studio/test_model_picker_contracts.py index f3dbd9c545..0a66f4efe3 100644 --- a/tests/studio/test_model_picker_contracts.py +++ b/tests/studio/test_model_picker_contracts.py @@ -718,9 +718,9 @@ def test_monitor_stats_exclude_model_lifecycle_rows(): assert "total: requests," in src assert "total: entries.length" not in src - backend = ( - WORKDIR / "studio" / "backend" / "core" / "inference" / "api_monitor.py" - ).read_text(encoding = "utf-8") + backend = (WORKDIR / "studio" / "backend" / "core" / "inference" / "api_monitor.py").read_text( + encoding = "utf-8" + ) assert 'entry.kind != "lifecycle"' in backend, "the rule this mirrors"