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

gh-98903: Test suite fails with exit code 4 if no tests ran #98904

Merged
merged 1 commit into from Nov 2, 2022

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 31, 2022

The Python test suite now fails wit exit code 4 if no tests ran. It should help detecting typos in test names and test methods.

  • Add "EXITCODE_" constants to Lib/test/libregrtest/main.py.
  • Fix a typo: "NO TEST RUN" becomes "NO TESTS RAN"

The Python test suite now fails wit exit code 4 if no tests ran. It
should help detecting typos in test names and test methods.

* Add "EXITCODE_" constants to Lib/test/libregrtest/main.py.
* Fix a typo: "NO TEST RUN" becomes "NO TESTS RAN"
@vstinner vstinner merged commit c76db37 into python:main Nov 2, 2022
15 checks passed
@vstinner vstinner deleted the regrtest_norun branch Nov 2, 2022
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.

None yet

2 participants