Skip to content

Commit fe01fdc

Browse files
committed
types
1 parent 685f5d2 commit fe01fdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_add_to_pydotorg.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
import add_to_pydotorg
99

10+
TYPE_CHECKING = False
11+
if TYPE_CHECKING:
12+
from pyfakefs.fake_filesystem import FakeFilesystem
13+
1014

1115
@pytest.mark.parametrize(
1216
["release", "expected"],
@@ -80,7 +84,7 @@ def test_minor_version_tuple(release: str, expected: tuple[int, int]) -> None:
8084
assert add_to_pydotorg.minor_version_tuple(release) == expected
8185

8286

83-
def test_list_files(fs) -> None:
87+
def test_list_files(fs: FakeFilesystem) -> None:
8488
# Arrange
8589
fs.add_real_file("tests/ftp-file-list.txt")
8690
fake_files = Path("tests/ftp-file-list.txt").read_text().splitlines()

0 commit comments

Comments
 (0)