mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
remove unecessary Iterable base classes (#12810)
This commit is contained in:
@@ -231,7 +231,7 @@ class TracebackException:
|
||||
if sys.version_info >= (3, 11):
|
||||
def print(self, *, file: SupportsWrite[str] | None = None, chain: bool = True) -> None: ...
|
||||
|
||||
class FrameSummary(Iterable[Any]):
|
||||
class FrameSummary:
|
||||
if sys.version_info >= (3, 11):
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
@@ -5,7 +5,7 @@ from typing_extensions import TypeAlias
|
||||
|
||||
_TestType: TypeAlias = unittest.case.TestCase | TestSuite
|
||||
|
||||
class BaseTestSuite(Iterable[_TestType]):
|
||||
class BaseTestSuite:
|
||||
_tests: list[unittest.case.TestCase]
|
||||
_removed_tests: int
|
||||
def __init__(self, tests: Iterable[_TestType] = ()) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user