Skip to content

Commit 25e20ce

Browse files
committed
chore(typing): Consolidate typing.Protocol as of python 3.8
1 parent c596ac5 commit 25e20ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/workspace/test_builder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727

2828
if t.TYPE_CHECKING:
2929
from libtmux.server import Server
30-
from typing_extensions import Protocol
3130

32-
class AssertCallbackProtocol(Protocol):
31+
class AssertCallbackProtocol(t.Protocol):
3332
def __call__(self, cmd: str, hist: str) -> bool:
3433
...
3534

0 commit comments

Comments
 (0)