From ead42beff6265d95c4dc18016735229daef1a56d Mon Sep 17 00:00:00 2001 From: Daniel Chiquito Date: Sat, 24 Feb 2024 13:25:44 -0500 Subject: [PATCH] Disable test_locale in test_format.py See https://github.com/RustPython/RustPython/issues/5181 --- Lib/test/test_format.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py index f6c11a4aa..66e2b077b 100644 --- a/Lib/test/test_format.py +++ b/Lib/test/test_format.py @@ -420,6 +420,9 @@ class FormatTest(unittest.TestCase): self.assertEqual(format(1+2j, "\u2007^8"), "\u2007(1+2j)\u2007") self.assertEqual(format(0j, "\u2007^4"), "\u20070j\u2007") + # TODO: RUSTPYTHON formatting does not support locales + # See https://github.com/RustPython/RustPython/issues/5181 + @unittest.expectedFailure def test_locale(self): try: oldloc = locale.setlocale(locale.LC_ALL)