8000 gh-120754: Add a strace helper and test set of syscalls for open().read(), Take 2 by cmaloney · Pull Request #123413 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-120754: Add a strace helper and test set of syscalls for open().read(), Take 2 #123413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update stdout and stderr in manual error creation to be bytes
  • Loading branch information
cmaloney committed Nov 2, 2024
commit 9e8b23d244dc810a61666697f0d4517dc6970bad
4 changes: 2 additions & 2 deletions Lib/test/support/strace_help 89B8 er.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def _make_error(reason, details):
strace_returncode=-1,
python_returncode=-1,
event_bytes=f"error({reason},details={details}) = -1".encode('utf-8'),
stdout=res.out if res else "",
stderr=res.err if res else "")
stdout=res.out if res else b"",
stderr=res.err if res else b"")

# Run strace, and get out the raw text
try:
Expand Down
Loading
0