Title: `test_ctypes` failing on main · Issue #154106 · python/cpython · GitHub
Open Graph Title: `test_ctypes` failing on main · Issue #154106 · python/cpython
X Title: `test_ctypes` failing on main · Issue #154106 · python/cpython
Description: test_ctypes seems to be failing consistently on the recent PRs: https://github.com/python/cpython/actions/runs/29683928642/job/88184883827?pr=154104 https://github.com/python/cpython/actions/runs/29683745397/job/88184404311?pr=154100 FAI...
Open Graph Description: test_ctypes seems to be failing consistently on the recent PRs: https://github.com/python/cpython/actions/runs/29683928642/job/88184883827?pr=154104 https://github.com/python/cpython/actions/runs/2...
X Description: test_ctypes seems to be failing consistently on the recent PRs: https://github.com/python/cpython/actions/runs/29683928642/job/88184883827?pr=154104 https://github.com/python/cpython/actions/runs/2...
Opengraph URL: https://github.com/python/cpython/issues/154106
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_ctypes` failing on main","articleBody":"`test_ctypes` seems to be failing consistently on the recent PRs:\n- https://github.com/python/cpython/actions/runs/29683928642/job/88184883827?pr=154104\n- https://github.com/python/cpython/actions/runs/29683745397/job/88184404311?pr=154100\n\n```\nFAIL: test_string_annotations (test.test_ctypes.test_structures.StructureTestCase.test_string_annotations)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_ctypes/test_structures.py\", line 962, in test_string_annotations\n self.assertEqual(Point._fields_, fields)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: Lists differ: [('x', \u003cclass 'ctypes.c_int'>), ('y', \u003cclass 'ctypes.c_int'>)] != [['x', \u003cclass 'ctypes.c_int'>], ['y', \u003cclass 'ctypes.c_int'>]]\n\nFirst differing element 0:\n('x', \u003cclass 'ctypes.c_int'>)\n['x', \u003cclass 'ctypes.c_int'>]\n\n- [('x', \u003cclass 'ctypes.c_int'>), ('y', \u003cclass 'ctypes.c_int'>)]\n? ^ ^ ^ -\n\n+ [['x', \u003cclass 'ctypes.c_int'>], ['y', \u003cclass 'ctypes.c_int'>]]\n? ^ ^ ^ +\n\n\n```\n\ncc @vstinner I think you added that test case?","author":{"url":"https://github.com/tomasr8","@type":"Person","name":"tomasr8"},"datePublished":"2026-07-19T11:04:07Z","url":"https://github.com/python/cpython/issues/154106"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:162eb426-f14f-029c-57be-5ebe9a414121 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A4C:3204C8:32BA631:432D7E3:6B0036F7 |
| html-safe-nonce | dd80f648d070d86ad1ec03a1ad1534c881013b13479dde2b1aba4633bf476fb5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTRDOjMyMDRDODozMkJBNjMxOjQzMkQ3RTM6NkIwMDM2RjciLCJ2aXNpdG9yX2lkIjoiNjMwOTYyNTEwOTMyMTYyNzM4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6e1f6ea99367118adf68ab9562b8f1eb7c7bee0b705e901a480c3bad83b5eb1e |
| hovercard-subject-tag | issue:4922408488 |
| 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/154106/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6dcf34ff82d2850f19ed02d673664efe1ce10ce705267e1f203f6f13d3969e20/python/cpython/issues/154106 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6dcf34ff82d2850f19ed02d673664efe1ce10ce705267e1f203f6f13d3969e20/python/cpython/issues/154106 |
| og:image:alt | test_ctypes seems to be failing consistently on the recent PRs: https://github.com/python/cpython/actions/runs/29683928642/job/88184883827?pr=154104 https://github.com/python/cpython/actions/runs/2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomasr8 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width