-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ExitCode: support custom codes #6022
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
Conversation
Fails on py35:
|
Do we want to monkeypatch py35, or only have it for py36+ then? |
The refed pr intentionally locked down exit codes |
Update the doc then? But I think we should not prevent custom exit codes, should we? |
What actual value do they add that justifies enabling people to break the pytest cli api |
I rather think that we should not break plugins doing it already (for whatever reason). btw: came to it via #4901. |
Didn't know If you decide that If annotated as If annotated as @RonnyPfannschmidt wrote in #5420 that "User defined exit codes are still valid, but should be used with caution.", so it sounds like it should be an |
I agree. About #4901, we just need to update the representation to use
? EDIT: of course that doesn't work because retcode is obtained from the system. |
Submitted a different proposal at #6043 |
Cool, closing then. |
It's a bit bad though having to use it in |
Ref: #5420