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

pytest - keep "slow" tests deselected after -k EXPRESSION #6034

Merged

Conversation

pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Mar 13, 2023

Problem: pytest -k 'not docker' runs notebook tests marked as "slow"

Solution: Check only the mark expression when deciding if
the slow tests should be skipped.

Problem: `pytest -k 'not docker'`  runs notebook tests marked as "slow"

Solution: Check only the mark expression when deciding whether to
run the `slow` tests.
@pavoljuhas
Copy link
Collaborator Author

ping - can somebody PTAL?

@pavoljuhas pavoljuhas merged commit 611edee into quantumlib:master Mar 22, 2023
@pavoljuhas pavoljuhas deleted the pytest-skip-slow-also-for-k-option branch March 22, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants