Skip to content

Commit 5d1a125

Browse files
authored
Update __init__.py
Change the position of "parametrize_order" ini option inside the function, in order to pass the test in the pull request
1 parent ae0407f commit 5d1a125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,12 +1264,12 @@ def _initini(self, args: Sequence[str]) -> None:
12641264
type="args",
12651265
default=[],
12661266
)
1267+
self._override_ini = ns.override_ini or ()
12671268
self._parser.addini(
12681269
"parametrize_order",
12691270
"Order for stacked parametrize marks: 'application' (default) or 'declaration'",
12701271
default="application",
12711272
)
1272-
self._override_ini = ns.override_ini or ()
12731273

12741274
def _consider_importhook(self, args: Sequence[str]) -> None:
12751275
"""Install the PEP 302 import hook if using assertion rewriting.

0 commit comments

Comments
 (0)