Skip to content

Commit ec0f9e6

Browse files
bluetechKriechi
authored andcommitted
Remove unused imports
1 parent 55e4ce4 commit ec0f9e6

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

test/test_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These tests test the behaviours expected of wsproto in when the
22
# connection is a client.
3-
from typing import List, Optional, Tuple
3+
from typing import List, Optional
44

55
import h11
66
import pytest
@@ -15,7 +15,6 @@
1515
Request,
1616
)
1717
from wsproto.extensions import Extension
18-
from wsproto.frame_protocol import CloseReason
1918
from wsproto.typing import Headers
2019
from wsproto.utilities import (
2120
generate_accept_token,

test/test_connection.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
import itertools
2-
31
import pytest
42

53
from wsproto.connection import CLIENT, Connection, ConnectionState, SERVER
64
from wsproto.events import (
7-
AcceptConnection,
85
BytesMessage,
96
CloseConnection,
10-
Message,
117
Ping,
128
Pong,
139
Request,
1410
TextMessage,
1511
)
16-
from wsproto.frame_protocol import CloseReason, FrameProtocol
12+
from wsproto.frame_protocol import CloseReason
1713
from wsproto.utilities import LocalProtocolError
1814

1915

test/test_permessage_deflate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import zlib
2-
from typing import cast, Dict, Optional, Sequence, TYPE_CHECKING, Union
2+
from typing import cast, Optional, Sequence, TYPE_CHECKING
33

44
import pytest
55
from _pytest.monkeypatch import MonkeyPatch

test/test_server.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
Request,
1616
)
1717
from wsproto.extensions import Extension
18-
from wsproto.frame_protocol import CloseReason
1918
from wsproto.typing import Headers
2019
from wsproto.utilities import (
2120
generate_accept_token,

0 commit comments

Comments
 (0)