David Bolen <db3l....@gmail.com> added the comment:
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) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37945> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com