mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add types for unittest.loader.TestLoader._match_path (#8669)
This commit is contained in:
@@ -23,6 +23,7 @@ class TestLoader:
|
||||
def loadTestsFromNames(self, names: Sequence[str], module: ModuleType | None = ...) -> unittest.suite.TestSuite: ...
|
||||
def getTestCaseNames(self, testCaseClass: type[unittest.case.TestCase]) -> Sequence[str]: ...
|
||||
def discover(self, start_dir: str, pattern: str = ..., top_level_dir: str | None = ...) -> unittest.suite.TestSuite: ...
|
||||
def _match_path(self, path: str, full_path: str, pattern: str) -> bool: ...
|
||||
|
||||
defaultTestLoader: TestLoader
|
||||
|
||||
|
||||
Reference in New Issue
Block a user