mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +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 @@ def test_remote_exec_raises_audit_event(self):
|
|||
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