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

PR: Prefer a run-slow skip reason over an already passed one (Testing) #18768

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

juliangilbey
Copy link
Contributor

Description of Changes

Currently, on a subsequent test run, conftest.py will report the reason for skipping a "run-slow" test if --run-slow is not specified as "Test passed in previous runs", which is not true. This patch changes the order of the conditionals so that the "Need/Don't need --run-slow option to run" reason will be given precedence.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
@juliangilbey

@ccordoba12 ccordoba12 changed the title Prefer a run-slow skip reason over a already passed one PR: Prefer a run-slow skip reason over a already passed one (Testing) Jul 22, 2022
@ccordoba12 ccordoba12 added this to the v5.3.3 milestone Jul 22, 2022
@ccordoba12 ccordoba12 changed the title PR: Prefer a run-slow skip reason over a already passed one (Testing) PR: Prefer a run-slow skip reason over an already passed one (Testing) Jul 22, 2022
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @juliangilbey!

@ccordoba12 ccordoba12 merged commit e682009 into spyder-ide:5.x Jul 22, 2022
ccordoba12 added a commit that referenced this pull request Jul 22, 2022
@juliangilbey juliangilbey deleted the clearer-skip-reasons branch July 24, 2022 06:50
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.

2 participants