Add undocumented methods and make types more specific in 2/unittest (#3550)

This commit is contained in:
Jan Verbeek authored and Sebastian Rittau committed 2019-12-19 18:17:14 +01:00
1 parent 9d61baa7be
commit a705d59479
2 files changed
+27 -17

No files matched your search

+5 -4
View File
@@ -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: