Skip to content

Commit

Permalink
Disable test_locale in test_format.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiquito authored and kingiler committed Mar 15, 2024
1 parent b3e436b commit fc4e568
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ def test_non_ascii(self):
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)
Expand Down

0 comments on commit fc4e568

Please sign in to comment.