mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-132143: Fix the AssertionError
in the test case test.test_sys.TestRemoteExec
(#132248)
This commit is contained in:
parent
e294e161a8
commit
d6078ed6d0
1 changed files with 1 additions and 1 deletions
|
@ -2101,7 +2101,7 @@ print("Remote script executed successfully!")
|
|||
prologue = '''\
|
||||
import sys
|
||||
def audit_hook(event, arg):
|
||||
print(f"Audit event: {event}, arg: {arg}")
|
||||
print(f"Audit event: {event}, arg: {arg}".encode("ascii", errors="replace"))
|
||||
sys.addaudithook(audit_hook)
|
||||
'''
|
||||
script = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue