Title: Test `test_c_locale_coercion` fails on macos Sonoma · Issue #109989 · python/cpython · GitHub
Open Graph Title: Test `test_c_locale_coercion` fails on macos Sonoma · Issue #109989 · python/cpython
X Title: Test `test_c_locale_coercion` fails on macos Sonoma · Issue #109989 · python/cpython
Description: Repro: ./python.exe -m test test_c_locale_coercion -v Short output: ====================================================================== FAIL: test_external_target_locale_configuration (test.test_c_locale_coercion.LocaleConfigurationTe...
Open Graph Description: Repro: ./python.exe -m test test_c_locale_coercion -v Short output: ====================================================================== FAIL: test_external_target_locale_configuration (test.test...
X Description: Repro: ./python.exe -m test test_c_locale_coercion -v Short output: ====================================================================== FAIL: test_external_target_locale_configuration (test.test...
Opengraph URL: https://github.com/python/cpython/issues/109989
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test `test_c_locale_coercion` fails on macos Sonoma","articleBody":"Repro: `./python.exe -m test test_c_locale_coercion -v`\r\n\r\nShort output:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_external_target_locale_configuration (test.test_c_locale_coercion.LocaleConfigurationTests.test_external_target_locale_configuration) (env_var='LC_CTYPE', configured_locale='UTF-8')\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/sobolev/Desktop/cpython/Lib/test/test_c_locale_coercion.py\", line 273, in test_external_target_locale_configuration\r\n self._check_child_encoding_details(var_dict,\r\n File \"/Users/sobolev/Desktop/cpython/Lib/test/test_c_locale_coercion.py\", line 230, in _check_child_encoding_details\r\n self.assertEqual(encoding_details, expected_details)\r\nAssertionError: {'fse[36 chars]f-8:strict', 'stdout_info': 'utf-8:strict', 's[80 chars]: ''} != {'fse[36 chars]f-8:surrogateescape', 'stdout_info': 'utf-8:su[98 chars]: ''}\r\n {'fsencoding': 'utf-8',\r\n 'lang': '',\r\n 'lc_all': '',\r\n 'lc_ctype': 'UTF-8',\r\n 'stderr_info': 'utf-8:backslashreplace',\r\n- 'stdin_info': 'utf-8:strict',\r\n? ^^ ^\r\n\r\n+ 'stdin_info': 'utf-8:surrogateescape',\r\n? ++++++ ^^^ ^^^\r\n\r\n- 'stdout_info': 'utf-8:strict'}\r\n? ^^ ^\r\n\r\n+ 'stdout_info': 'utf-8:surrogateescape'}\r\n? ++++++ ^^^ ^^^\r\n\r\n\r\n----------------------------------------------------------------------\r\nRan 7 tests in 0.883s\r\n\r\nFAILED (failures=51)\r\ntest test_c_locale_coercion failed\r\ntest_c_locale_coercion failed (51 failures)\r\n\r\n== Tests result: FAILURE ==\r\n\r\n1 test failed:\r\n test_c_locale_coercion\r\n\r\nTotal duration: 924 ms\r\nTotal tests: run=7 failures=51\r\nTotal test files: run=1/1 failed=1\r\nResult: FAILURE\r\n```\r\n\r\nFull output is attached below.\r\n[out.txt](https://github.com/python/cpython/files/12743468/out.txt)\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-113378\n* gh-113398\n* gh-113399\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2023-09-27T21:34:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/109989/cpython/issues/109989"}
| 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:ccccef5c-06b0-cdb9-bd26-659781630c3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A294:2E3F95:9B02C1:D699D6:696A796F |
| html-safe-nonce | 4ab3369497b30d8579f3f930f51b8f95b3bd3e45aa9a3d158b2cbd26b934e056 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjk0OjJFM0Y5NTo5QjAyQzE6RDY5OUQ2OjY5NkE3OTZGIiwidmlzaXRvcl9pZCI6IjQ1MDU3ODU2NDI5Mzg2OTM5OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4b343f081112e3cde20d68bff9a4384861a1b90b9a19dd34f588e99a0643f67b |
| hovercard-subject-tag | issue:1916365823 |
| 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/109989/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53d9f6115c9fbf9872a190066c0d4fe7392ebf109c2c7cdeb86ccf8bda8238e0/python/cpython/issues/109989 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53d9f6115c9fbf9872a190066c0d4fe7392ebf109c2c7cdeb86ccf8bda8238e0/python/cpython/issues/109989 |
| og:image:alt | Repro: ./python.exe -m test test_c_locale_coercion -v Short output: ====================================================================== FAIL: test_external_target_locale_configuration (test.test... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| 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 | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width