Open
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_locale (__main__.FormatTest.test_locale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_format.py", line 446, in test_locale
locale.setlocale(locale.LC_ALL, oldloc)
File "Lib/test/test_format.py", line 444, in test_locale
self.assertEqual(text.replace(sep, ''), '1234' + point + '5')
File "Lib/test/test_format.py", line 437, in test_locale
self.assertIn(sep, text)
AssertionError: ',' not found in '123456789'
----------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels