Title: test_format.py failed on test_locale if LC_ALL is not set · Issue #4970 · RustPython/RustPython · GitHub
Open Graph Title: test_format.py failed on test_locale if LC_ALL is not set · Issue #4970 · RustPython/RustPython
X Title: test_format.py failed on test_locale if LC_ALL is not set · Issue #4970 · RustPython/RustPython
Description: The following error message comes when running test_format.py I checked my enviroment that LC_ALL is not set, if I set it than the code will success. ====================================================================== FAIL: test_local...
Open Graph Description: The following error message comes when running test_format.py I checked my enviroment that LC_ALL is not set, if I set it than the code will success. ===============================================...
X Description: The following error message comes when running test_format.py I checked my enviroment that LC_ALL is not set, if I set it than the code will success. ===============================================...
Opengraph URL: https://github.com/RustPython/RustPython/issues/4970
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_format.py failed on test_locale if LC_ALL is not set","articleBody":"The following error message comes when running test_format.py\r\n\r\nI checked my enviroment that LC_ALL is not set, if I set it than the code will success.\r\n```\r\n======================================================================\r\nFAIL: test_locale (__main__.FormatTest.test_locale)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"Lib/test/test_format.py\", line 446, in test_locale\r\n locale.setlocale(locale.LC_ALL, oldloc)\r\n File \"Lib/test/test_format.py\", line 444, in test_locale\r\n self.assertEqual(text.replace(sep, ''), '1234' + point + '5')\r\n File \"Lib/test/test_format.py\", line 437, in test_locale\r\n self.assertIn(sep, text)\r\nAssertionError: ',' not found in '123456789'\r\n\r\n----------------------------------------------------------------------\r\n```","author":{"url":"https://github.com/qingshi163","@type":"Person","name":"qingshi163"},"datePublished":"2023-05-13T20:10:10Z","url":"https://github.com/RustPython/RustPython/issues/4970"}
| 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:07dca634-e63a-a005-d7ee-94b43ff3eafd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B80:145630:2E7A145:3D8D1E5:6B00271D |
| html-safe-nonce | 2077e1354f9e5e98e93b98dc80f81798f4f0d1cb82384c24aa4e69e99e9e7fc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjgwOjE0NTYzMDoyRTdBMTQ1OjNEOEQxRTU6NkIwMDI3MUQiLCJ2aXNpdG9yX2lkIjoiNDAwMzQ2MTAzODQxNzY1MTQ4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d509fbefe7a81eec67b800e68d760cd775f1628303abc80c3032382db5a58a35 |
| hovercard-subject-tag | issue:1708729330 |
| 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/RustPython/RustPython/4970/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5714becf718ed876a4efdbfb54332238021d4ee3d31bb447f235b405685fd5f8/RustPython/RustPython/issues/4970 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5714becf718ed876a4efdbfb54332238021d4ee3d31bb447f235b405685fd5f8/RustPython/RustPython/issues/4970 |
| og:image:alt | The following error message comes when running test_format.py I checked my enviroment that LC_ALL is not set, if I set it than the code will success. ===============================================... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | qingshi163 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width