Skip to content

Commit b802009

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 90996d5 commit b802009

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
@@ -11,7 +11,7 @@
1111
from pathlib import Path, PurePath
1212
from stat import S_IWGRP, S_IWOTH, S_IWUSR, filemode
1313
from types import TracebackType
14-
from typing import Callable, IO, Iterator, Tuple, Type, Union
14+
from typing import IO, Callable, Iterator, Tuple, Type, Union
1515

1616
import pytest
1717
from _pytest.logging import LogCaptureFixture
@@ -500,6 +500,7 @@ def test_wrong_platform(tmp_path: Path) -> None:
500500
@pytest.mark.skipif(sys.platform == "win32", reason="Windows filesystems support flock")
501501
def test_flock_not_implemented_unix(tmp_path: Path) -> None:
502502
import fcntl
503+
503504
def dummy_flock(fd: IO[str], operation: str) -> None:
504505
raise OSError(ENOSYS, "mock error")
505506
return fd, operation # needed for strict type checker

0 commit comments

Comments
 (0)