We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6270769 commit b6c9550Copy full SHA for b6c9550
tests/test_filelock.py
@@ -503,7 +503,7 @@ def test_wrong_platform(tmp_path: Path) -> None:
503
@pytest.mark.skipif(sys.platform == "win32", reason="Windows filesystems support flock")
504
def test_flock_not_implemented_unix(tmp_path: Path) -> None:
505
import fcntl
506
- def dummy_flock(fd: Union[int, HasFileno], operation: str) -> None:
+ def dummy_flock(fd: Union[int, HasFileno], operation: int) -> None:
507
raise OSError(ENOSYS, "mock error")
508
return fd, operation # needed for strict type checker
509
0 commit comments