mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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)
This commit is contained in:
parent
9752661491
commit
a6cf8275f8
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