Issue #28996: Merge 3.6.

This commit is contained in:
Xavier de Gaye 2016-12-19 10:46:59 +01:00
commit e0c4e96119
1 changed files with 2 additions and 2 deletions

View File

@ -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)