Skip to content

Commit

Permalink
Fix pytest 4.1 compatibility (#3498)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Jan 8, 2019
1 parent b42a23b commit 67bc3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_proxy_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ async def test_proxy_auth() -> None:
async with aiohttp.ClientSession() as session:
with pytest.raises(
ValueError,
message="proxy_auth must be None or BasicAuth() tuple"):
match=r"proxy_auth must be None or BasicAuth\(\) tuple"):
await session.get('http://python.org',
proxy='http://proxy.example.com',
proxy_auth=('user', 'pass'))

0 comments on commit 67bc3c2

Please sign in to comment.