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):