mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Fix a few more Python tests
This commit is contained in:
parent
59e1c245d1
commit
bc464a8898
7 changed files with 1018 additions and 547 deletions
2
third_party/python/Lib/test/test_locale.py
vendored
2
third_party/python/Lib/test/test_locale.py
vendored
|
@ -358,7 +358,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 is_android or
|
||||
if enc != 'iso8859-1' and (sys.platform in ('darwin','cosmo') 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