mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Backport 68b5f87566fb
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from test.test_support import run_unittest, verbose
|
||||
from platform import linux_distribution
|
||||
import unittest
|
||||
import locale
|
||||
import sys
|
||||
@@ -396,6 +397,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.getlocale()
|
||||
|
||||
Reference in New Issue
Block a user