Skip to content

Commit 0d17974

Browse files
committed
🐛 TC003 Move standard library import collections.abc.Callable into a type-checking block
1 parent aecdfdf commit 0d17974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_tiffreader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from __future__ import annotations
44

5-
from collections.abc import Callable
65
from typing import TYPE_CHECKING
76
from unittest.mock import patch
87

@@ -13,6 +12,7 @@
1312
from PIL import Image
1413

1514
if TYPE_CHECKING:
15+
from collections.abc import Callable
1616
from pathlib import Path
1717

1818
from tiatoolbox.wsicore import wsireader

0 commit comments

Comments
 (0)