mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Add undocumented unittest.TextTestResult attributes (#4052)
Add missing type hints for attributes in unittest.TextTestResult.
This commit is contained in:
@@ -8,8 +8,12 @@ _ResultClassType = Callable[[TextIO, bool, int], unittest.result.TestResult]
|
||||
|
||||
|
||||
class TextTestResult(unittest.result.TestResult):
|
||||
descriptions: bool # undocumented
|
||||
dots: bool # undocumented
|
||||
separator1: str
|
||||
separator2: str
|
||||
showall: bool # undocumented
|
||||
stream: TextIO # undocumented
|
||||
def __init__(self, stream: TextIO, descriptions: bool,
|
||||
verbosity: int) -> None: ...
|
||||
def getDescription(self, test: unittest.case.TestCase) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user