We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c4a5f commit 6af2e6fCopy full SHA for 6af2e6f
Lib/test/test_pyrepl/test_interact.py
@@ -58,7 +58,7 @@ def test_multiple_statements_fail_early(self):
58
console = InteractiveColoredConsole()
59
code = dedent("""\
60
raise Exception('foobar')
61
- print('spam&eggs')
+ print('spam', 'eggs', sep='&')
62
""")
63
f = io.StringIO()
64
with contextlib.redirect_stderr(f):
Lib/test/test_repl.py
@@ -296,7 +296,7 @@ def f():
296
297
class TestAsyncioREPL(unittest.TestCase):
298
def test_multiple_statements_fail_early(self):
299
- user_input = "1 / 0; print('afterwards')"
+ user_input = "1 / 0; print('after' + 'wards')"
300
p = spawn_repl("-m", "asyncio")
301
p.stdin.write(user_input)
302
output = kill_python(p)
0 commit comments