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

Handle exit code 5 as pass with py.test #42

Merged
merged 1 commit into from
Dec 20, 2015

Conversation

blueyed
Copy link
Collaborator

@blueyed blueyed commented Dec 16, 2015

py.test returns exit code 5 in case no tests are run/collected.
This can happen with tools like pytest-testmon.

Ref: pytest-dev/pytest#812
Ref: tarpas/pytest-testmon#31

py.test returns exit code 5 in case no tests are run/collected.
This can happen with tools like pytest-testmon.

Ref: pytest-dev/pytest#812
Ref: tarpas/pytest-testmon#31
@joeyespo
Copy link
Owner

This looks good and makes sense 👍 Had no idea about this pytest change, thanks for the PR!

joeyespo added a commit that referenced this pull request Dec 20, 2015
Handle exit code 5 as pass with py.test
@joeyespo joeyespo merged commit 3037f55 into joeyespo:master Dec 20, 2015
@blueyed blueyed deleted the handle-exit-5-as-pass branch December 20, 2015 15:31
@joeyespo joeyespo added the bug label Feb 12, 2016
@joeyespo
Copy link
Owner

Just released v3.10.0 containing this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants