Skip to content

Commit

Permalink
Fix expected deprecation @ test_loop_prop
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Sep 23, 2022
1 parent 8b23271 commit 9f8d48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_web_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def test_eq() -> None:
async def test_loop_prop() -> None:
loop = asyncio.get_event_loop()
req = make_mocked_request("GET", "/path", loop=loop)
with pytest.deprecated_call(match=r"^client\.loop property is deprecated$"):
with pytest.deprecated_call(match=r"^request\.loop property is deprecated$"):
assert req.loop is loop


Expand Down

0 comments on commit 9f8d48d

Please sign in to comment.