[issue20079] Add support for glibc supported locales

Marc-Andre Lemburg report at bugs.python.org
Thu Oct 2 10:38:00 CEST 2014


Marc-Andre Lemburg added the comment:

On 02.10.2014 10:24, STINNER Victor wrote:
> 
> STINNER Victor added the comment:
> 
> A lot of buildbot failed. Example:
> 
> http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/2692/steps/test/logs/stdio
> 
> ======================================================================
> FAIL: test_valencia_modifier (test.test_locale.NormalizeTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_locale.py", line 428, in test_valencia_modifier
>     self.check('ca_ES at valencia', 'ca_ES.ISO8859-1 at valencia')
>   File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_locale.py", line 370, in check
>     self.assertEqual(locale.normalize(localename), expected, msg=localename)
> AssertionError: 'ca_ES.ISO8859-15 at valencia' != 'ca_ES.ISO8859-1 at valencia'
> - ca_ES.ISO8859-15 at valencia
> ?                -
> + ca_ES.ISO8859-1 at valencia
>  : ca_ES at valencia

I guess the test have to be adjusted as well :-)

What I don't understand is why the above case failed. That mapping
wasn't changed by the patch, AFAICT.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20079>
_______________________________________


More information about the Python-bugs-list mailing list