Title: test_re fails on Alpine Linux (with musl) · Issue #131342 · python/cpython · GitHub
Open Graph Title: test_re fails on Alpine Linux (with musl) · Issue #131342 · python/cpython
X Title: test_re fails on Alpine Linux (with musl) · Issue #131342 · python/cpython
Description: Bug report Bug description: 718.6 0:01:10 load avg: 0.97 [35/44] test_re 719.7 test test_re failed 719.7 0:01:11 load avg: 0.98 [36/44] test_set -- test_re failed (2 failures) 724.7 0:01:16 load avg: 0.98 [37/44] test_sqlite3 725.6 0:01:...
Open Graph Description: Bug report Bug description: 718.6 0:01:10 load avg: 0.97 [35/44] test_re 719.7 test test_re failed 719.7 0:01:11 load avg: 0.98 [36/44] test_set -- test_re failed (2 failures) 724.7 0:01:16 load av...
X Description: Bug report Bug description: 718.6 0:01:10 load avg: 0.97 [35/44] test_re 719.7 test test_re failed 719.7 0:01:11 load avg: 0.98 [36/44] test_set -- test_re failed (2 failures) 724.7 0:01:16 load av...
Opengraph URL: https://github.com/python/cpython/issues/131342
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_re fails on Alpine Linux (with musl)","articleBody":"# Bug report\n\n### Bug description:\n\n```pytb\n718.6 0:01:10 load avg: 0.97 [35/44] test_re\n719.7 test test_re failed\n719.7 0:01:11 load avg: 0.98 [36/44] test_set -- test_re failed (2 failures)\n724.7 0:01:16 load avg: 0.98 [37/44] test_sqlite3\n725.6 0:01:17 load avg: 0.98 [38/44] test_statistics\n733.0 0:01:24 load avg: 0.98 [39/44] test_str\n735.1 0:01:26 load avg: 0.98 [40/44] test_struct\n735.8 0:01:27 load avg: 0.98 [41/44] test_tabnanny\n736.3 0:01:28 load avg: 0.98 [42/44] test_time\n739.5 0:01:31 load avg: 0.98 [43/44] test_xml_etree\n740.2 0:01:32 load avg: 0.98 [44/44] test_xml_etree_c\n741.3\n741.3 Total duration: 1 min 33 sec\n741.3 Total tests: run=9,178 failures=3 skipped=203\n741.3 Total test files: run=44/44 failed=2 skipped=2\n741.3 Result: FAILURE\n741.3 make: *** [Makefile:886: profile-run-stamp] Error 2\n\nAnd while running in verbose mode the following is the output of it.\n\n\n\n ./python -m unittest -v test.test_re\n(...)\n======================================================================\nFAIL: test_locale_caching (test.test_re.ReTests.test_locale_caching)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/Python-3.13.2/Lib/test/test_re.py\", line 2195, in test_locale_caching\n self.check_en_US_iso88591()\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"/Python-3.13.2/Lib/test/test_re.py\", line 2204, in check_en_US_iso88591\n self.assertTrue(re.match(b'\\xc5', b'\\xe5', re.L|re.I))\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: None is not true\n\n======================================================================\nFAIL: test_locale_compiled (test.test_re.ReTests.test_locale_compiled)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/Python-3.13.2/Lib/test/test_re.py\", line 2240, in test_locale_compiled\n self.assertTrue(p.match(b'\\xe5\\xe5'))\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: None is not true\n\n----------------------------------------------------------------------\nRan 165 tests in 0.838s\n\nFAILED (failures=2, skipped=1)\n```\n\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/prashanthallu","@type":"Person","name":"prashanthallu"},"datePublished":"2025-03-17T08:37:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/131342/cpython/issues/131342"}
| 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:788de7af-d573-78ed-9414-5a247284d910 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B312:139A69:1A1FA47:243A675:696AA633 |
| html-safe-nonce | b6430d3a44ac63f8bcb3f36e297fa474c872c272f807d087327797127bbb29ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzEyOjEzOUE2OToxQTFGQTQ3OjI0M0E2NzU6Njk2QUE2MzMiLCJ2aXNpdG9yX2lkIjoiODgxNzA1OTAzNTY4MTAzOTkyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d07e69ccf617c1b8a9cc509e14eba7084b65eaec5cb7789aa22361305cf3cbc5 |
| hovercard-subject-tag | issue:2924188609 |
| 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/131342/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c7c162b74bff2aee373536dff86021e94540f0e68fcf74958c8d73ce60dd710/python/cpython/issues/131342 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c7c162b74bff2aee373536dff86021e94540f0e68fcf74958c8d73ce60dd710/python/cpython/issues/131342 |
| og:image:alt | Bug report Bug description: 718.6 0:01:10 load avg: 0.97 [35/44] test_re 719.7 test test_re failed 719.7 0:01:11 load avg: 0.98 [36/44] test_set -- test_re failed (2 failures) 724.7 0:01:16 load av... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | prashanthallu |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| 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 | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width