https://github.com/python/cpython/commit/a6cf8275f8b477d34c86c8f89a3ca32e78084add commit: a6cf8275f8b477d34c86c8f89a3ca32e78084add branch: main author: Bartosz Sławecki <bart...@ilikepython.com> committer: Yhg1s <tho...@python.org> date: 2025-03-28T15:09:31+01:00 summary:
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) 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 c3204832a6a93a..af5d4d0e67632a 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 -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com