From e18363cc409a5e09f9a35448b36ac77da35c818c Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sun, 26 Jan 2020 16:52:04 +0200 Subject: [PATCH] Fix test --- tests/test_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_helpers.py b/tests/test_helpers.py index ef084449956..e46a463c79b 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -458,7 +458,7 @@ def test_proxies_from_env_http_with_auth(mocker) -> None: def test_get_running_loop_not_running(loop) -> None: with pytest.raises( RuntimeError, - match="The object should be created from async function"): + match="The object should be created within an async function"): helpers.get_running_loop()