From 0ab6cfc0dc820464a05901116be50a8a4bf4f4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20J=C4=99drusiak?= Date: Wed, 4 Sep 2024 15:49:31 +0200 Subject: [PATCH] Update test locale --- tests/test_readline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_readline.py b/tests/test_readline.py index 6b25016..393fcbc 100644 --- a/tests/test_readline.py +++ b/tests/test_readline.py @@ -62,7 +62,7 @@ def test_strings_bracketed(terminal): def test_early_termination(terminal): terminal.current_line().assert_startswith("r$>") - terminal.write("stop('!')\x1b\rd = 1\n") + terminal.write("Sys.setlocale(category = 'LC_MESSAGES', locale = 'en_US.UTF8'); stop('!')\x1b\rd = 1\n") terminal.previous_line(2).assert_startswith("Error") terminal.write("d\n") terminal.previous_line(2).assert_startswith("Error: object 'd' not found")