From 62e57618d9c8026f619ca2d25d477db48c17117c Mon Sep 17 00:00:00 2001 From: Eric Moyer Date: Mon, 9 Jan 2017 12:23:46 -0500 Subject: [PATCH] Match assertIsInstance signature with isinstance (#802) --- stdlib/3/unittest/__init__.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/3/unittest/__init__.pyi b/stdlib/3/unittest/__init__.pyi index 77b79de12..15ebff6bf 100644 --- a/stdlib/3/unittest/__init__.pyi +++ b/stdlib/3/unittest/__init__.pyi @@ -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: ...