Disable test_locale in test_format.py

See https://github.com/RustPython/RustPython/issues/5181
This commit is contained in:
Daniel Chiquito committed 2024-03-09 18:22:57 -05:00
1 parent 35229721ea
commit ead42beff6
1 file changed
+3
+3
View File
@@ -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)