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 c61c699 commit 352b4e0Copy full SHA for 352b4e0
tests/test_filelock.py
@@ -499,8 +499,9 @@ def test_wrong_platform(tmp_path: Path) -> None:
499
500
501
@pytest.mark.skipif(sys.platform == "win32", reason="Windows filesystems support flock")
502
-def test_flock_not_implemented_UNIX(tmp_path: Path) -> None:
+def test_flock_not_implemented_unix(tmp_path: Path) -> None:
503
def dummy_flock(fd, operation):
504
+ fd, operation = "" # added so the linter will be happy
505
raise OSError(ENOSYS, "mock error")
506
507
lock_path = tmp_path / "a.lock"
0 commit comments