From ad04f9c6210d564b5ee967a962ba42b71177f78c Mon Sep 17 00:00:00 2001 From: Zanie Adkins Date: Wed, 10 May 2023 12:33:03 -0500 Subject: [PATCH] Add anyio annotation --- tests/_async/test_http2.py | 1 + tests/_sync/test_http2.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/_async/test_http2.py b/tests/_async/test_http2.py index 2c415e42..bd27df56 100644 --- a/tests/_async/test_http2.py +++ b/tests/_async/test_http2.py @@ -52,6 +52,7 @@ async def test_http2_connection(): ) +@pytest.mark.anyio async def test_http2_connection_closed(): origin = Origin(b"https", b"example.com", 443) stream = AsyncMockStream( diff --git a/tests/_sync/test_http2.py b/tests/_sync/test_http2.py index 1cf90feb..df4cfcbc 100644 --- a/tests/_sync/test_http2.py +++ b/tests/_sync/test_http2.py @@ -52,6 +52,7 @@ def test_http2_connection(): ) + def test_http2_connection_closed(): origin = Origin(b"https", b"example.com", 443) stream = MockStream(