Skip to content

Improves clarity in Sphinx documentation for function signature. #11698

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

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

arthuRHD
Copy link
Contributor

closes #11695.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

Thanks @arthuRHD!

@bluetech
Copy link
Member

To be precise, None does not mean the same as 0:

  • Setting returncode=0 means "exit with 0" (i.e. override the exit code to 0).
  • Setting returncode=None means "exit with session.exitstatus" (i.e. don't override). Normally session.exitstatus is 0 but it can be set to something else by plugins. Even though session.exitstatus is undocumented some plugins do set it.

@arthuRHD
Copy link
Contributor Author

Thanks @arthuRHD!

You guys did everything, thanks

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.

pytest.exit returncode default is poorly documented
3 participants