From 7378c3d5dd8bc88b5488df94e9b590c224ce9466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20S=C5=82awecki?= Date: Fri, 28 Mar 2025 15:09:31 +0100 Subject: [PATCH] gh-117174: Adapt `test_multiple_statements_fail_early` to new REPL behavior (follow-up gh-131065) (GH-131836) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adapt test to new REPL behavior (follow-up gh-117174) (cherry picked from commit a6cf8275f8b477d34c86c8f89a3ca32e78084add) Co-authored-by: Bartosz Sławecki --- Lib/test/test_pyrepl/test_interact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pyrepl/test_interact.py b/Lib/test/test_pyrepl/test_interact.py index 2651cf7d32d79d..2041a35c8a472b 100644 --- a/Lib/test/test_pyrepl/test_interact.py +++ b/Lib/test/test_pyrepl/test_interact.py @@ -58,7 +58,7 @@ def test_multiple_statements_fail_early(self): console = InteractiveColoredConsole() code = dedent("""\ raise Exception('foobar') - print('spam&eggs') + print('spam', 'eggs', sep='&') """) f = io.StringIO() with contextlib.redirect_stderr(f):