Skip to content

Commit

Permalink
use r-string
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
  • Loading branch information
setla and webknjaz authored Feb 4, 2024
1 parent 67ab859 commit d10d3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@ async def handler_request(request):
app.router.add_get("/redirect", handler_request)
client = await aiohttp_client(app)

with pytest.raises(InvalidRedirectURL, match=f"^{error_message_url} - [a-zA-Z]+"):
with pytest.raises(InvalidRedirectURL, match=fr"^{error_message_url} - [a-zA-Z]+"):
await client.get("/redirect")


Expand Down

0 comments on commit d10d3d3

Please sign in to comment.