Skip to content

Commit

Permalink
Fix type in assertRaisesMessage signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoettle authored and hramezani committed Apr 26, 2022
1 parent f27c6aa commit 5c6c937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest_django/asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Dynamically load all Django assertion cases and expose them for importing.
"""
from functools import wraps
from typing import Any, Callable, Optional, Sequence, Set, Union
from typing import Any, Callable, Optional, Sequence, Set, Type, Union

from django.test import (
LiveServerTestCase, SimpleTestCase, TestCase, TransactionTestCase,
Expand Down Expand Up @@ -113,7 +113,7 @@ def assertTemplateNotUsed(
...

def assertRaisesMessage(
expected_exception: BaseException,
expected_exception: Type[Exception],
expected_message: str,
*args,
**kwargs
Expand Down

0 comments on commit 5c6c937

Please sign in to comment.