Skip to content

Commit f908afe

Browse files
committed
Escalate the fix to test_pyrepl.support.more_lines
1 parent 9e0d7c9 commit f908afe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_pyrepl/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def more_lines(text: str, namespace: dict | None = None):
4444
console = InteractiveConsole(namespace, filename="<stdin>")
4545
try:
4646
code = console.compile(src, "<stdin>", "single")
47-
except (OverflowError, SyntaxError, ValueError):
47+
except (OverflowError, SyntaxError, ValueError, SystemError):
4848
return False
4949
else:
5050
return code is None

0 commit comments

Comments
 (0)