mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
[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 a6cf8275f8
)
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
This commit is contained in:
parent
de8bc17c33
commit
3e45b1fece
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue