Import from collections.abc wherever possible (#7635)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-18 12:50:37 +02:00
1 parent a17b3afb16
commit 97a74bc1aa
230 files changed
+449 -348

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
import unittest.case
import unittest.result
import unittest.suite
from typing import Callable, Iterable, TextIO
from collections.abc import Callable, Iterable
from typing import TextIO
from typing_extensions import TypeAlias
_ResultClassType: TypeAlias = Callable[[TextIO, bool, int], unittest.result.TestResult]