https://github.com/python/cpython/commit/3e45b1fecea28667257cbfef8ac49bd803f8a49c commit: 3e45b1fecea28667257cbfef8ac49bd803f8a49c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s <[email protected]> date: 2025-03-28T16:51:04Z summary:
[3.13] gh-117174: Adapt `test_multiple_statements_fail_early` to new REPL behavior (follow-up gh-131065) (GH-131836) (#131841) gh-117174: Adapt `test_multiple_statements_fail_early` to new REPL behavior (follow-up gh-131065) (GH-131836) Adapt test to new REPL behavior (follow-up gh-117174) (cherry picked from commit a6cf8275f8b477d34c86c8f89a3ca32e78084add) Co-authored-by: Bartosz Sławecki <[email protected]> files: M Lib/test/test_pyrepl/test_interact.py 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): _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
