mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
Add undocumented methods and make types more specific in 2/unittest (#3550)
This commit is contained in:
committed by
Sebastian Rittau
parent
9d61baa7be
commit
a705d59479
@@ -1,11 +1,12 @@
|
||||
from typing import List, Optional, Tuple, Type
|
||||
from typing import List, Optional, Tuple, Type, Union
|
||||
from types import TracebackType
|
||||
import unittest.case
|
||||
|
||||
|
||||
_SysExcInfoType = Tuple[Optional[Type[BaseException]],
|
||||
Optional[BaseException],
|
||||
Optional[TracebackType]]
|
||||
_SysExcInfoType = Union[
|
||||
Tuple[Type[BaseException], BaseException, TracebackType],
|
||||
Tuple[None, None, None],
|
||||
]
|
||||
|
||||
|
||||
class TestResult:
|
||||
|
||||
Reference in New Issue
Block a user