From: Bartosz Sławecki Date: Fri, 28 Mar 2025 14:09:31 +0000 (+0100) Subject: gh-117174: Adapt `test_multiple_statements_fail_early` to new REPL behavior (follow... X-Git-Tag: v3.14.0a7~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6cf8275f8b477d34c86c8f89a3ca32e78084add;p=thirdparty%2FPython%2Fcpython.git gh-117174: Adapt `test_multiple_statements_fail_early` to new REPL behavior (follow-up gh-131065) (#131836) Adapt test to new REPL behavior (follow-up gh-117174) --- diff --git a/Lib/test/test_pyrepl/test_interact.py b/Lib/test/test_pyrepl/test_interact.py index c3204832a6a9..af5d4d0e6763 100644 --- a/Lib/test/test_pyrepl/test_interact.py +++ b/Lib/test/test_pyrepl/test_interact.py @@ -58,7 +58,7 @@ class TestSimpleInteract(unittest.TestCase): console = InteractiveColoredConsole() code = dedent("""\ raise Exception('foobar') - print('spam&eggs') + print('spam', 'eggs', sep='&') """) f = io.StringIO() with contextlib.redirect_stderr(f):