mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Match assertIsInstance signature with isinstance (#802)
This commit is contained in:
committed by
Guido van Rossum
parent
f9135c5aa0
commit
62e57618d9
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user