8000 Skip test_format.test_locale · RustPython/RustPython@23ebbd0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 23ebbd0

Browse files
committed
Skip test_format.test_locale
I had previously `test_locale` as expected to fail, as it did indeed fail on my system due to unimplemented functionality. As it happens, it passes in CI because the locale settings used there (`C`, I believe) just happen to format integers the same with "%d" as "%n". I mistakenly un-marked it because I thought I misunderstood the problem.
1 parent 9b974bd commit 23ebbd0

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(s 6B81 elf):
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.skip("formatting does not support locales")
423426
def test_locale(self):
424427
try:
425428
oldloc = locale.setlocale(locale.LC_ALL)

0 commit comments

Comments
 (0)
0