Skip to content

Commit 0b8e6e5

Browse files
committed
fixed coverage issue
1 parent e3340ad commit 0b8e6e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

portalocker/portalocker.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
Any,
2121
Callable,
2222
Optional,
23-
Protocol,
2423
Type,
2524
Union,
2625
cast,
@@ -33,13 +32,13 @@
3332

3433

3534
# Define a protocol for callable lockers
36-
class LockCallable(Protocol):
35+
class LockCallable(typing.Protocol):
3736
def __call__(
3837
self, file_obj: types.FileArgument, flags: LockFlags
3938
) -> None: ...
4039

4140

42-
class UnlockCallable(Protocol):
41+
class UnlockCallable(typing.Protocol):
4342
def __call__(self, file_obj: types.FileArgument) -> None: ...
4443

4544

0 commit comments

Comments
 (0)