mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Disable test_locale in test_format.py
See https://github.com/RustPython/RustPython/issues/5181
This commit is contained in:
1 parent
35229721ea
commit
ead42beff6
1 file changed
+3
Vendored
+3
@@ -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