Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly register pytest marks, and fail when unregistered are used #692

Merged
merged 1 commit into from
May 20, 2024

Conversation

mih
Copy link
Member

@mih mih commented May 20, 2024

This avoids silently doing something surprising due to mistyped names.

Most of this change is already part of Debian's 1.4.0-1.

This patch is part of Debian's 1.4.0-1

This avoids silently doing something surprising due to mistyped names.

Most of this change is already part of Debian's 1.4.0-1.
@mih mih merged commit a812396 into datalad:main May 20, 2024
4 checks passed
@mih mih deleted the marks branch May 20, 2024 17:27
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
Tests are executd with `pytest --strict-marker` now to catch undesired situations due to mistyped markers. DataLad (core) implements many of its old test decorators as markers, but does not declare them. This change add a missing one.

datalad#692
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
Tests are executed with `pytest --strict-marker` now to catch undesired situations due to mistyped markers. DataLad (core) implements many of its old test decorators as markers, but does not declare them. This change add a missing one.

datalad#692
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
Tests are executed with `pytest --strict-marker` now to catch undesired situations due to mistyped markers. DataLad (core) implements many of its old test decorators as markers, but does not declare them. This change add a missing one.

Refs: datalad#692
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
Tests are executed with `pytest --strict-marker` now to catch undesired situations due to mistyped markers. DataLad (core) implements many of its old test decorators as markers, but does not declare them. This change add a missing one.

Refs: datalad#692
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
mih added a commit to mih/datalad-next that referenced this pull request May 21, 2024
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.

1 participant