mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Issue #28996: Skip two tests that fail on Android with the locale strcoll() and
strxfrm() functions.
This commit is contained in:
parent
619555d77b
commit
5bccb0e03d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from test.support import verbose
|
||||
from test.support import verbose, is_android
|
||||
import unittest
|
||||
import locale
|
||||
import sys
|
||||
|
|
@ -353,7 +353,7 @@ def setUp(self):
|
|||
enc = codecs.lookup(locale.getpreferredencoding(False) or 'ascii').name
|
||||
if enc not in ('utf-8', 'iso8859-1', 'cp1252'):
|
||||
raise unittest.SkipTest('encoding not suitable')
|
||||
if enc != 'iso8859-1' and (sys.platform == 'darwin' or
|
||||
if enc != 'iso8859-1' and (sys.platform == 'darwin' or is_android or
|
||||
sys.platform.startswith('freebsd')):
|
||||
raise unittest.SkipTest('wcscoll/wcsxfrm have known bugs')
|
||||
BaseLocalizedTest.setUp(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue