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 fb818a3 commit d426939Copy full SHA for d426939
tests/test_filelock.py
@@ -501,7 +501,7 @@ def test_wrong_platform(tmp_path: Path) -> None:
501
@pytest.mark.skipif(sys.platform == "win32", reason="Windows filesystems support flock")
502
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
+ 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