Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -1,11 +1,11 @@
import unittest.case
import unittest.result
from typing import Iterable, Iterator, List, Union
from typing import Iterable, Iterator, Union
_TestType = Union[unittest.case.TestCase, TestSuite]
class BaseTestSuite(Iterable[_TestType]):
_tests: List[unittest.case.TestCase]
_tests: list[unittest.case.TestCase]
_removed_tests: int
def __init__(self, tests: Iterable[_TestType] = ...) -> None: ...
def __call__(self, result: unittest.result.TestResult) -> unittest.result.TestResult: ...