mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Disable test_locale in test_format.py
See https://github.com/RustPython/RustPython/issues/5181
This commit is contained in:
3
Lib/test/test_format.py
vendored
3
Lib/test/test_format.py
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user