Title: some tests fail with -O (assertions off) · Issue #92886 · python/cpython · GitHub
Open Graph Title: some tests fail with -O (assertions off) · Issue #92886 · python/cpython
X Title: some tests fail with -O (assertions off) · Issue #92886 · python/cpython
Description: On main (3.12 branch): % ./python.exe -Om test -j2 [...] 10 tests failed: test_clinic test_coroutines test_dis test_imaplib test_multiprocessing_forkserver test_multiprocessing_spawn test_py_compile test_sys_settrace test_wsgiref test_zi...
Open Graph Description: On main (3.12 branch): % ./python.exe -Om test -j2 [...] 10 tests failed: test_clinic test_coroutines test_dis test_imaplib test_multiprocessing_forkserver test_multiprocessing_spawn test_py_compil...
X Description: On main (3.12 branch): % ./python.exe -Om test -j2 [...] 10 tests failed: test_clinic test_coroutines test_dis test_imaplib test_multiprocessing_forkserver test_multiprocessing_spawn test_py_compil...
Opengraph URL: https://github.com/python/cpython/issues/92886
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"some tests fail with -O (assertions off)","articleBody":"On main (3.12 branch):\r\n\r\n% ./python.exe -Om test -j2\r\n[...]\r\n10 tests failed:\r\n test_clinic test_coroutines test_dis test_imaplib\r\n test_multiprocessing_forkserver test_multiprocessing_spawn\r\n test_py_compile test_sys_settrace test_wsgiref test_zipimport\r\n\r\nThis seems wrong because\r\n(1) it indicates that some assertions should be exceptions instead. \r\n(2) it implies that we don't have a buildbot testing with -O\r\n\r\n- [x] test_clinic\r\n- [x] test_coroutines\r\n- [x] test_dis\r\n- [x] test_imaplib\r\n- [x] test_multiprocessing_forkserver\r\n- [x] test_multiprocessing_spawn\r\n- [x] test_py_compile\r\n- [x] test_sys_settrace\r\n- [x] test_wsgiref\r\n- [x] test_zipimport","author":{"url":"https://github.com/iritkatriel","@type":"Person","name":"iritkatriel"},"datePublished":"2022-05-17T17:50:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/92886/cpython/issues/92886"}
| 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:b4015f05-72ea-8f19-5001-a30bed9aa3b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B39A:2E86DB:28D3CAF:38D472E:69694CF7 |
| html-safe-nonce | 5778715cfa4ce3a010806e9a29be03fc4513e115d414b97f793b14b4f0a25dac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzlBOjJFODZEQjoyOEQzQ0FGOjM4RDQ3MkU6Njk2OTRDRjciLCJ2aXNpdG9yX2lkIjoiNzAxMTU4ODMwMjA5MDg4MjI5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0b644843077e8e380e5b41b1d74cfdcbdeec5124ab74c204bbdde37bcfdf95ca |
| hovercard-subject-tag | issue:1238973037 |
| 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/92886/issue_layout |
| twitter:image | https://opengraph.githubassets.com/418d3917c6ebe0b6572ffc35245f737df4215b3683bb14bffda421c076b7e772/python/cpython/issues/92886 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/418d3917c6ebe0b6572ffc35245f737df4215b3683bb14bffda421c076b7e772/python/cpython/issues/92886 |
| og:image:alt | On main (3.12 branch): % ./python.exe -Om test -j2 [...] 10 tests failed: test_clinic test_coroutines test_dis test_imaplib test_multiprocessing_forkserver test_multiprocessing_spawn test_py_compil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iritkatriel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width