Title: Make Python test suite fail if no tests ran · Issue #98903 · python/cpython · GitHub
Open Graph Title: Make Python test suite fail if no tests ran · Issue #98903 · python/cpython
X Title: Make Python test suite fail if no tests ran · Issue #98903 · python/cpython
Description: When the Python test suite is run with a typo in a test filename or a test method, it displays "NO TEST RUN" but the exit code is a success (exit code 0) and so the mistake can be easily missed. I propose to make the test suite fail with...
Open Graph Description: When the Python test suite is run with a typo in a test filename or a test method, it displays "NO TEST RUN" but the exit code is a success (exit code 0) and so the mistake can be easily missed. I ...
X Description: When the Python test suite is run with a typo in a test filename or a test method, it displays "NO TEST RUN" but the exit code is a success (exit code 0) and so the mistake can be easily ...
Opengraph URL: https://github.com/python/cpython/issues/98903
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Python test suite fail if no tests ran","articleBody":"When the Python test suite is run with a typo in a test filename or a test method, it displays \"NO TEST RUN\" but the exit code is a success (exit code 0) and so the mistake can be easily missed. I propose to make the test suite fail with a non-zero exit code to highlight that something unusual happened.\n\n\u003c!-- gh-pr-number: gh-98904 --\u003e\n* PR: gh-98904\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2022-10-31T13:42:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/98903/cpython/issues/98903"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:18071b79-ef49-0a89-89d9-a031895bbc0e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE0A:181900:F4939:147F23:6969C76D |
| html-safe-nonce | ba259de8d8b265bea81d95dbc504d7d3ae846869b42ed33805ad60e59cb4f8fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTBBOjE4MTkwMDpGNDkzOToxNDdGMjM6Njk2OUM3NkQiLCJ2aXNpdG9yX2lkIjoiNjQyODMwNzQzODA3NDE4NTU4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9591604d5daefcc6916b65340694ff2e7fbab2ea66dbdbc7ff6d4218830c8316 |
| hovercard-subject-tag | issue:1429872315 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98903/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c29aa8a12a3a8197502239b689c7b8e6adccd278b43fd3188853ab5d679afb72/python/cpython/issues/98903 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c29aa8a12a3a8197502239b689c7b8e6adccd278b43fd3188853ab5d679afb72/python/cpython/issues/98903 |
| og:image:alt | When the Python test suite is run with a typo in a test filename or a test method, it displays "NO TEST RUN" but the exit code is a success (exit code 0) and so the mistake can be easily missed. I ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width