We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e830432 + 2902c72 commit fed5356Copy full SHA for fed5356
src/_pytest/fixtures.py
@@ -31,6 +31,7 @@
31
from _pytest.compat import TYPE_CHECKING
32
from _pytest.deprecated import FIXTURE_POSITIONAL_ARGUMENTS
33
from _pytest.deprecated import FUNCARGNAMES
34
+from _pytest.mark import ParameterSet
35
from _pytest.outcomes import fail
36
from _pytest.outcomes import TEST_OUTCOME
37
@@ -1263,8 +1264,6 @@ def _get_direct_parametrize_args(self, node):
1263
1264
This things are done later as well when dealing with parametrization
1265
so this could be improved
1266
"""
- from _pytest.mark import ParameterSet
1267
-
1268
parametrize_argnames = []
1269
for marker in node.iter_markers(name="parametrize"):
1270
if not marker.kwargs.get("indirect", False):
0 commit comments