Issue #28996: Merge 3.6.
This commit is contained in:
commit
e0c4e96119
|
@ -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 @@ class TestEnUSCollation(BaseLocalizedTest, TestCollation):
|
|||
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…
Reference in New Issue