mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #13441: Disable temporary strxfrm() tests on Solaris
This commit is contained in:
parent
242b6ea975
commit
a1c03b0a58
1 changed files with 4 additions and 0 deletions
|
|
@ -343,6 +343,8 @@ class TestCollation(unittest.TestCase):
|
|||
self.assertEqual(locale.strcoll('a', 'a'), 0)
|
||||
self.assertGreater(locale.strcoll('b', 'a'), 0)
|
||||
|
||||
@unittest.skipIf(sys.platform == 'sunos5',
|
||||
"http://bugs.python.org/issue13441")
|
||||
def test_strxfrm(self):
|
||||
self.assertLess(locale.strxfrm('a'), locale.strxfrm('b'))
|
||||
|
||||
|
|
@ -364,6 +366,8 @@ class TestEnUSCollation(BaseLocalizedTest, TestCollation):
|
|||
def test_strcoll_with_diacritic(self):
|
||||
self.assertLess(locale.strcoll('à', 'b'), 0)
|
||||
|
||||
@unittest.skipIf(sys.platform == 'sunos5',
|
||||
"http://bugs.python.org/issue13441")
|
||||
def test_strxfrm_with_diacritic(self):
|
||||
self.assertLess(locale.strxfrm('à'), locale.strxfrm('b'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue