mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
Fix hints for TestCase.assertRaises (#8373)
This commit is contained in:
@@ -145,7 +145,7 @@ class TestCase:
|
||||
def assertRaises( # type: ignore[misc]
|
||||
self,
|
||||
expected_exception: type[BaseException] | tuple[type[BaseException], ...],
|
||||
callable: Callable[..., object],
|
||||
callable: Callable[..., Any],
|
||||
*args: Any,
|
||||
**kwargs: Any,
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user