From 90b5be1aab775d78eb4ddb3c3188a2e553396b23 Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Fri, 5 Nov 2021 13:10:19 +0100 Subject: [PATCH] Ignore mypy 'attr-defined' error about asyncio.ProactorEventLoop in tests --- tests/test_connection_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_connection_async.py b/tests/test_connection_async.py index c86bc9f09..7f115ca34 100644 --- a/tests/test_connection_async.py +++ b/tests/test_connection_async.py @@ -676,7 +676,7 @@ async def test_connect_context_copy(dsn, aconn): @pytest.mark.skipif(sys.platform != "win32", reason="windows only test") def test_windows_error(dsn): - loop = asyncio.ProactorEventLoop() + loop = asyncio.ProactorEventLoop() # type: ignore[attr-defined] async def go(): with pytest.raises( -- 2.47.2