From dfc2c59b57ceaf78db8ce24fef2ace30e8b7bd58 Mon Sep 17 00:00:00 2001 From: cdeler Date: Sat, 17 Oct 2020 19:33:39 +0300 Subject: [PATCH] Update tests/async_tests/test_interfaces.py Co-authored-by: Florimond Manca --- tests/async_tests/test_interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/async_tests/test_interfaces.py b/tests/async_tests/test_interfaces.py index 233278da5..f7c5a5bc0 100644 --- a/tests/async_tests/test_interfaces.py +++ b/tests/async_tests/test_interfaces.py @@ -214,11 +214,11 @@ async def test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_t pass # have to filter out https://github.com/encode/httpx/issues/825 from other tests - warnings_list = [ + warnings = [ *filter(lambda warn: "asyncio" not in warn.filename, recorded_warnings.list) ] - assert len(warnings_list) == 0 + assert len(warnings) == 0 @pytest.mark.anyio