Disable test_locale in test_format.py

See https://github.com/RustPython/RustPython/issues/5181
This commit is contained in:
Daniel Chiquito
2024-02-24 13:25:44 -05:00
parent 35229721ea
commit ead42beff6

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)