mirror of https://github.com/python/cpython
Issue #1813: merge changeset that reverts a glibc workaround for the
Fedora buildbot.
This commit is contained in:
commit
c317a1c185
|
@ -1,5 +1,4 @@
|
||||||
from test.support import run_unittest, verbose
|
from test.support import run_unittest, verbose
|
||||||
from platform import linux_distribution
|
|
||||||
import unittest
|
import unittest
|
||||||
import locale
|
import locale
|
||||||
import sys
|
import sys
|
||||||
|
@ -392,8 +391,6 @@ class TestMiscellaneous(unittest.TestCase):
|
||||||
# crasher from bug #7419
|
# crasher from bug #7419
|
||||||
self.assertRaises(locale.Error, locale.setlocale, 12345)
|
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):
|
def test_getsetlocale_issue1813(self):
|
||||||
# Issue #1813: setting and getting the locale under a Turkish locale
|
# Issue #1813: setting and getting the locale under a Turkish locale
|
||||||
oldlocale = locale.setlocale(locale.LC_CTYPE)
|
oldlocale = locale.setlocale(locale.LC_CTYPE)
|
||||||
|
|
Loading…
Reference in New Issue