8000 Disable test_locale in test_format.py · dchiquito/RustPython@ead42be · GitHub
[go: up one dir, main page]

Skip to content

Commit ead42be

Browse files
committed
Disable test_locale in test_format.py
See RustPython#5181
1 parent 3522972 commit ead42be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_format.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,9 @@ def test_non_ascii(self):
420420
self.assertEqual(format(1+2j, "\u2007^8"), "\u2007(1+2j)\u2007")
421421
self.assertEqual(format(0j, "\u2007^4"), "\u20070j\u2007")
422422

423+
# TODO: RUSTPYTHON formatting does not support locales
424+
# See https://github.com/RustPython/RustPython/issues/5181
425+
@unittest.expectedFailure
423426
def test_locale(self):
424427
try:
425428
oldloc = locale.setlocale(locale.LC_ALL)

0 commit comments

Comments
 (0)
0