Message389867
In lieu of the patch in #25191, what about a pair of skips to deal with the issues at hand without killing the test entirely? I'm including OpenBSD since those issues were closed in favor of this one, and am assuming that skipping there is also appropriate.
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -552,6 +552,10 @@ def test_setlocale_category(self):
# crasher from bug #7419
self.assertRaises(locale.Error, locale.setlocale, 12345)
+ @unittest.skipIf(sys.platform == 'win32',
+ "Test broken on Windows (issue #37945)")
+ @unittest.skipIf(sys.platform.startswith('openbsd'),
+ "Test broken on OpenBSD (issues #31636 and #25191)")
def test_getsetlocale_issue1813(self):
# Issue #1813: setting and getting the locale under a Turkish locale
oldlocale = locale.setlocale(locale.LC_CTYPE) |
|
| Date |
User |
Action |
Args |
| 2021-03-31 03:09:40 | db3l | set | recipients:
+ db3l, terry.reedy, paul.moore, vstinner, tim.golden, jkloth, ned.deily, methane, guy.linton, lukasz.langa, zach.ware, serhiy.storchaka, eryksun, steve.dower, xtreak |
| 2021-03-31 03:09:40 | db3l | set | messageid: <[email protected]> |
| 2021-03-31 03:09:40 | db3l | link | issue37945 messages |
| 2021-03-31 03:09:40 | db3l | create | |
|