Skip to content

Commit 352b4e0

Browse files
committed
flake8 updates
1 parent c61c699 commit 352b4e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_filelock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,9 @@ def test_wrong_platform(tmp_path: Path) -> None:
499499

500500

501501
@pytest.mark.skipif(sys.platform == "win32", reason="Windows filesystems support flock")
502-
def test_flock_not_implemented_UNIX(tmp_path: Path) -> None:
502+
def test_flock_not_implemented_unix(tmp_path: Path) -> None:
503503
def dummy_flock(fd, operation):
504+
fd, operation = "" # added so the linter will be happy
504505
raise OSError(ENOSYS, "mock error")
505506

506507
lock_path = tmp_path / "a.lock"

0 commit comments

Comments
 (0)