We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639ffb5 commit b117fbcCopy full SHA for b117fbc
tests/test_bootstrap.py
@@ -620,14 +620,7 @@ def test_handle_event_request_fault_exception_logging_syntax_error(
620
bootstrap.StandardLogSink(),
621
)
622
623
- import sys
624
-
625
- sys.stderr.write(mock_stdout.getvalue())
626
627
- error_logs = (
628
- "[ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'a': "
629
- "unexpected EOF while parsing (<string>, line 1)\r"
630
- )
+ error_logs = f"[ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'a': {syntax_error}\r"
631
error_logs += "Traceback (most recent call last):\r"
632
error_logs += ' File "<string>" Line 1\r'
633
error_logs += " -\n"
0 commit comments