Skip to content

Commit 79ba8a5

Browse files
committed
Flake8 fixes
1 parent 3a38301 commit 79ba8a5

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/pytest_cases/fixture_core2.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,11 @@ def _map_arguments(*_args, **_kwargs):
519519

520520
# --Finally create the fixture function, a wrapper of user-provided fixture with the new signature
521521
if isasyncgenfunction(fixture_func):
522-
from .pep525 import _decorate_fixture_plus_asyncgen_pep525
523-
wrapped_fixture_func = _decorate_fixture_plus_asyncgen_pep525(fixture_func, new_sig, _map_arguments)
522+
from .pep525 import _decorate_fixture_plus_asyncgen_pep525
523+
wrapped_fixture_func = _decorate_fixture_plus_asyncgen_pep525(fixture_func, new_sig, _map_arguments)
524524
elif iscoroutinefunction(fixture_func):
525-
from .pep492 import _decorate_fixture_plus_coroutine_pep492
526-
wrapped_fixture_func = _decorate_fixture_plus_coroutine_pep492(fixture_func, new_sig, _map_arguments)
525+
from .pep492 import _decorate_fixture_plus_coroutine_pep492
526+
wrapped_fixture_func = _decorate_fixture_plus_coroutine_pep492(fixture_func, new_sig, _map_arguments)
527527
elif isgeneratorfunction(fixture_func):
528528
# generator function (with a yield statement)
529529
from .pep380 import _decorate_fixture_plus_generator_pep380

src/pytest_cases/fixture_parametrize_plus.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,6 @@ def replace_paramfixture_with_values(kwargs): # noqa
10171017
# return
10181018
return kwargs
10191019

1020-
10211020
if isasyncgenfunction(test_func):
10221021
from .pep525 import _parametrize_plus_decorate_asyncgen_pep525
10231022
wrapped_test_func = _parametrize_plus_decorate_asyncgen_pep525(test_func, new_sig, fixture_union_name,

0 commit comments

Comments
 (0)