Skip to content

Commit b6c9550

Browse files
committed
fix
1 parent 6270769 commit b6c9550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_filelock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def test_wrong_platform(tmp_path: Path) -> None:
503503
@pytest.mark.skipif(sys.platform == "win32", reason="Windows filesystems support flock")
504504
def test_flock_not_implemented_unix(tmp_path: Path) -> None:
505505
import fcntl
506-
def dummy_flock(fd: Union[int, HasFileno], operation: str) -> None:
506+
def dummy_flock(fd: Union[int, HasFileno], operation: int) -> None:
507507
raise OSError(ENOSYS, "mock error")
508508
return fd, operation # needed for strict type checker
509509

0 commit comments

Comments
 (0)