Match assertIsInstance signature with isinstance (#802)

This commit is contained in:
Eric Moyer
2017-01-09 12:23:46 -05:00
committed by Guido van Rossum
parent f9135c5aa0
commit 62e57618d9

View File

@@ -55,10 +55,10 @@ class TestCase:
def assertNotIn(self, first: _T, second: Iterable[_T],
msg: Any = ...) -> None: ...
def assertIsInstance(self, obj: Any,
cls: Union[Type[Any], Tuple[Type[Any], ...]],
cls: Union[type, Tuple[type, ...]],
msg: Any = ...) -> None: ...
def assertNotIsInstance(self, obj: Any,
cls: Union[Type[Any], Tuple[Type[Any], ...]],
cls: Union[type, Tuple[type, ...]],
msg: Any = ...) -> None: ...
def assertGreater(self, first: Any, second: Any,
msg: Any = ...) -> None: ...