STINNER Victor <vstin...@python.org> added the comment:

I can reproduce the issue with:

$ LC_ALL=xxx ./python -m test test_c_locale_coercion -m 
test_PYTHONCOERCECLOCALE_set_to_one -v
(...)
======================================================================
ERROR: test_PYTHONCOERCECLOCALE_set_to_one 
(test.test_c_locale_coercion.LocaleCoercionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vstinner/python/master/Lib/test/test_c_locale_coercion.py", line 
410, in test_PYTHONCOERCECLOCALE_set_to_one
    loc = locale.setlocale(locale.LC_CTYPE, "")
  File "/home/vstinner/python/master/Lib/locale.py", line 610, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
(...)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to