mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Complete unittest.TextTestResult stubs (#2700)
This commit is contained in:
committed by
Sebastian Rittau
parent
2cedbc7d63
commit
76a334daeb
@@ -283,8 +283,13 @@ class TestResult:
|
||||
outcome: Optional[_SysExcInfoType]) -> None: ...
|
||||
|
||||
class TextTestResult(TestResult):
|
||||
separator1: str
|
||||
separator2: str
|
||||
def __init__(self, stream: TextIO, descriptions: bool,
|
||||
verbosity: int) -> None: ...
|
||||
def getDescription(self, test: TestCase) -> str: ...
|
||||
def printErrors(self) -> None: ...
|
||||
def printErrorList(self, flavour: str, errors: Tuple[TestCase, str]) -> None: ...
|
||||
_TextTestResult = TextTestResult
|
||||
|
||||
defaultTestLoader = ... # type: TestLoader
|
||||
|
||||
Reference in New Issue
Block a user