New submission from bapt:

the locale tests the return value of locale functions against known good values.

The problem is when those known good values becomes wrong because of an update 
of the locales.

For example in recent CLDR definition the french separator for thousands in a 
"non breaking space" and not a space, while it used to be a space.
On released FreeBSD (very old db) it was a space. On GNU libc (a more recent db 
but still old :)) it is a space.On FreeBSD 11 and Dragonfly 4.4 it is a fairly 
new db (v27.0.1) with the fixed separator: 0xa0!

Thant makes this test fail.

I have no idea on the way you would prefer to fix that, either remove the test 
(not sure it is really relevant in the python testsuite) or patch it.

https://hg.python.org/cpython/file/tip/Lib/test/test__locale.py#l70
the failures can be seen here:
http://buildbot.python.org/all/buildslaves/koobs-freebsd11

----------
components: Tests
messages: 255964
nosy: bapt, haypo
priority: normal
severity: normal
status: open
title: "Invalid" tests on locales
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

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

Reply via email to