New submission from Vishal Kushwaha <[email protected]>:
Fresh build on MacOS 10.13.2
======================================================================
ERROR: test_locale_flag (test.test_re.ReTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/vikramsingh/Desktop/projects/cpython/Lib/test/test_re.py", line
1520, in test_locale_flag
_, enc = locale.getlocale(locale.LC_CTYPE)
File "/Users/vikramsingh/Desktop/projects/cpython/Lib/locale.py", line 587,
in getlocale
return _parse_localename(localename)
File "/Users/vikramsingh/Desktop/projects/cpython/Lib/locale.py", line 495,
in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8
----------------------------------------------------------------------
======================================================================
ERROR: test_option_locale (test.test_calendar.CommandLineTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/vikramsingh/Desktop/projects/cpython/Lib/test/test_calendar.py",
line 838, in test_option_locale
lang, enc = locale.getdefaultlocale()
File "/Users/vikramsingh/Desktop/projects/cpython/Lib/locale.py", line 568,
in getdefaultlocale
return _parse_localename(localename)
File "/Users/vikramsingh/Desktop/projects/cpython/Lib/locale.py", line 495,
in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8
----------------------------------------------------------------------
----------
components: Library (Lib)
messages: 311407
nosy: vishalsingh
priority: normal
severity: normal
status: open
title: test_calendar and test_re fail with unknown locale: UTF-8 in
_parse_localename
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32740>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com