You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
----------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: