Skip to content

Commit

Permalink
more ignoring
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed May 24, 2024
1 parent aef5632 commit 57b3438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def create_exception_object(exception_name: str):
# get required arg types of exception class by inspecting its __init__ method

if hasattr(inspect, 'get_annotations'):
required_args = inspect.get_annotations(
required_args = inspect.get_annotations( # type: ignore
exception_class.__init__,
) # type: ignore
else:
Expand Down

0 comments on commit 57b3438

Please sign in to comment.