summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-21 00:02:23 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-21 00:02:23 (GMT)
commita1c03b0a587ec971360c4f57a801631bba2dd5f1 (patch)
treee8f2fd8995210a2488b9d9012ddfb4c4c31baf21 /Lib
parent242b6ea97523bee6b9e038bb71906b58665c510f (diff)
downloadcpython-a1c03b0a587ec971360c4f57a801631bba2dd5f1.zip
cpython-a1c03b0a587ec971360c4f57a801631bba2dd5f1.tar.gz
cpython-a1c03b0a587ec971360c4f57a801631bba2dd5f1.tar.bz2
Issue #13441: Disable temporary strxfrm() tests on Solaris
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_locale.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index 44081b9..8b6770e 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -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'))