File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 55from __future__ import annotations
66
77import warnings
8- from collections .abc import Sequence
98from functools import wraps
109from typing import TYPE_CHECKING , Any , Callable
1110
@@ -31,7 +30,7 @@ def _wrapper(name: str) -> Callable[..., Any]:
3130 func = getattr (test_case , name )
3231
3332 @wraps (func )
34- def assertion_func (* args , ** kwargs ) :
33+ def assertion_func (* args : Any , ** kwargs : Any ) -> Any :
3534 message = (
3635 f"Using pytest_django.asserts.{ name } is deprecated. "
3736 f'Use fixture "djt" and djt.{ name } instead.'
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ def tearDownClass(cls) -> None:
290290@pytest .fixture
291291def _django_db_helper (
292292 request : pytest .FixtureRequest ,
293- django_db_setup : None ,
293+ django_db_setup : None , # noqa: ARG001
294294 django_db_blocker : DjangoDbBlocker ,
295295 django_testcase_class : type [django .test .TestCase ],
296296) -> Generator [None , None , None ]:
You can’t perform that action at this time.
0 commit comments