From 9723abf600dc85f28c06422e3481d342742286ba Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 11 Oct 2021 03:01:35 +0200 Subject: [PATCH] Fix the order of checks in `test_proxy_functional` (#6072) --- tests/test_proxy_functional.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/tests/test_proxy_functional.py b/tests/test_proxy_functional.py index 8d0d488929c..ab3f5986ac9 100644 --- a/tests/test_proxy_functional.py +++ b/tests/test_proxy_functional.py @@ -179,14 +179,14 @@ async def test_https_proxy_unsupported_tls_in_tls( r"An HTTPS request is being sent through an HTTPS proxy\. " "This support for TLS in TLS is known to be disabled " r"in the stdlib asyncio\. This is why you'll probably see " - r"an error in the log below.\n\n" + r"an error in the log below\.\n\n" "It is possible to enable it via monkeypatching under " r"Python 3\.7 or higher\. For more details, see:\n" - r"* https://bugs\.python\.org/issue37179\n" - r"* https://github\.com/python/cpython/pull/28073\n\n" + r"\* https://bugs\.python\.org/issue37179\n" + r"\* https://github\.com/python/cpython/pull/28073\n\n" r"You can temporarily patch this as follows:\n" - r"* https://docs\.aiohttp\.org/en/stable/client_advanced\.html#proxy-support\n", - r"* https://github\.com/aio-libs/aiohttp/discussions/6044\n$", + r"\* https://docs\.aiohttp\.org/en/stable/client_advanced\.html#proxy-support\n" + r"\* https://github\.com/aio-libs/aiohttp/discussions/6044\n$" ) type_err = ( r"transport