Skip to content

Fix pytest 9.1 duplicate parametrization error.#464

Merged
mvdbeek merged 1 commit into
galaxyproject:masterfrom
ksuderman:463-fix-pytest-9.1
Jun 16, 2026
Merged

Fix pytest 9.1 duplicate parametrization error.#464
mvdbeek merged 1 commit into
galaxyproject:masterfrom
ksuderman:463-fix-pytest-9.1

Conversation

@ksuderman

Copy link
Copy Markdown
Contributor

Move the default mode matrix out of the fixture's params= into a pytest_generate_tests hook that applies it only when a test hasn't already parametrized mq_mode. This leaves a single source of truth while preserving behavior: full matrix by default, single-mode override where declared.

Closes #463

@mvdbeek
mvdbeek merged commit 0e4e622 into galaxyproject:master Jun 16, 2026
21 checks passed
@mvdbeek

mvdbeek commented Jun 16, 2026

Copy link
Copy Markdown
Member

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pytest 9.1.0 breaks the CI tests

2 participants