Skip to content

Commit

Permalink
[asyncio] remove shim for asynccontextmanager
Browse files Browse the repository at this point in the history
We now require Python >= 3.7.
  • Loading branch information
jlaine committed Oct 27, 2021
1 parent 8a1575c commit 1e599cb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 72 deletions.
2 changes: 1 addition & 1 deletion src/aioquic/asyncio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import ipaddress
import socket
import sys
from contextlib import asynccontextmanager
from typing import AsyncGenerator, Callable, Optional, cast

from ..quic.configuration import QuicConfiguration
from ..quic.connection import QuicConnection
from ..tls import SessionTicketHandler
from .compat import asynccontextmanager
from .protocol import QuicConnectionProtocol, QuicStreamHandler

__all__ = ["connect"]
Expand Down
33 changes: 0 additions & 33 deletions src/aioquic/asyncio/compat.py

This file was deleted.

38 changes: 0 additions & 38 deletions tests/test_asyncio_compat.py

This file was deleted.

0 comments on commit 1e599cb

Please sign in to comment.