summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2011-08-01 23:12:16 (GMT)
committerStefan Krah <skrah@bytereef.org>2011-08-01 23:12:16 (GMT)
commitd9c665b60e655533ecdb38a443a801b0d2e6f324 (patch)
treea4091016d6a383c7a0e8886546c16c0ee05842f9 /Lib
parent3c01d16ed91fa77a8e70d9fa3a6c33d6290fd9c4 (diff)
parentf187a0230bd6e9ad64a6249de50517b36c383c02 (diff)
downloadcpython-d9c665b60e655533ecdb38a443a801b0d2e6f324.zip
cpython-d9c665b60e655533ecdb38a443a801b0d2e6f324.tar.gz
cpython-d9c665b60e655533ecdb38a443a801b0d2e6f324.tar.bz2
Merge 68b5f87566fb
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_locale.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index 16689a3..19abe59 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -1,4 +1,5 @@
from test.support import run_unittest, verbose
+from platform import linux_distribution
import unittest
import locale
import sys
@@ -391,6 +392,8 @@ class TestMiscellaneous(unittest.TestCase):
# crasher from bug #7419
self.assertRaises(locale.Error, locale.setlocale, 12345)
+ @unittest.skipIf(linux_distribution()[0] == 'Fedora', "Fedora setlocale() "
+ "bug: https://bugzilla.redhat.com/show_bug.cgi?id=726536")
def test_getsetlocale_issue1813(self):
# Issue #1813: setting and getting the locale under a Turkish locale
oldlocale = locale.setlocale(locale.LC_CTYPE)