[issue28996] wcscoll is broken on Android and test_locale fails
Xavier de Gaye
report at bugs.python.org
Sat Dec 17 03:35:18 EST 2016
New submission from Xavier de Gaye:
These failures happen now that issue 28596 has been fixed and that locale.getpreferredencoding(False) returns 'UTF-8'.
======================================================================
FAIL: test_strcoll_with_diacritic (test.test_locale.TestEnUSCollation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_locale.py", line 362, in test_strcoll_with_diacritic
self.assertLess(locale.strcoll('à', 'b'), 0)
AssertionError: 1 not less than 0
======================================================================
FAIL: test_strxfrm_with_diacritic (test.test_locale.TestEnUSCollation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_locale.py", line 365, in test_strxfrm_with_diacritic
self.assertLess(locale.strxfrm('à'), locale.strxfrm('b'))
AssertionError: 'à' not less than 'b'
----------------------------------------------------------------------
----------
assignee: xdegaye
components: Tests
messages: 283474
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
title: wcscoll is broken on Android and test_locale fails
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28996>
_______________________________________
More information about the Python-bugs-list
mailing list