Skip to content

[Fix] Fix incorrect pytest skip usage that raises in error in pytest>9 - #401

Merged
lucas-diedrich merged 1 commit into
mainfrom
fix-pg-integration-test
Jan 26, 2026
Merged

lucas-diedrich merged 1 commit into
mainfrom
fix-pg-integration-test

Conversation

@lucas-diedrich

@lucas-diedrich lucas-diedrich commented Jan 26, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes incorrect usage of pytest.mark together pytest.fixture in the PG reader integration tests

Marking fixtures with pytest.mark has no effect (as fixtures are only called if tests that depend on them are called). Previously, this raised a warning, but since pytest==9.0, this pattern raises an error and makes the protein group reader integration tests fail.

See: https://docs.pytest.org/en/stable/changelog.html#pytest-9-0-2-2025-12-06

@lucas-diedrich lucas-diedrich self-assigned this Jan 26, 2026
@lucas-diedrich lucas-diedrich added the bug Something isn't working label Jan 26, 2026
@lucas-diedrich
lucas-diedrich merged commit 894e165 into main Jan 26, 2026
4 checks passed
@lucas-diedrich
lucas-diedrich deleted the fix-pg-integration-test branch January 26, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants