From 518ebf06d3b7978e9599a0f3644e4e200562b35a Mon Sep 17 00:00:00 2001 From: Giorgi Kikolashvili Date: Fri, 16 Aug 2024 13:43:09 +0200 Subject: [PATCH] Fix warning --- tests/test_jobs_mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_jobs_mixin.py b/tests/test_jobs_mixin.py index 5ffedcfb3..4c1ebda5f 100644 --- a/tests/test_jobs_mixin.py +++ b/tests/test_jobs_mixin.py @@ -7,7 +7,7 @@ def make_path_pattern(run_id: int, page_token: str) -> Pattern[str]: return re.compile( - f'{re.escape("http://localhost/api/")}2.\d{re.escape(f"/jobs/runs/get?page_token={page_token}&run_id={run_id}")}' + rf'{re.escape("http://localhost/api/")}2.\d{re.escape(f"/jobs/runs/get?page_token={page_token}&run_id={run_id}")}' )