WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
288669
[webkitcorepy] Subprocess mock fails with TypeError for PathLike arguments
https://bugs.webkit.org/show_bug.cgi?id=288669
Summary
[webkitcorepy] Subprocess mock fails with TypeError for PathLike arguments
Brianna Fan
Reported
2025-02-26 16:52:00 PST
Calling subprocess.run in unittests will fail with TypeError: expected string or bytes-like object if any of the arguments are PathLike
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-26 16:52:16 PST
<
rdar://problem/145703371
>
Brianna Fan
Comment 2
2025-02-26 17:12:27 PST
Pull request:
https://github.com/WebKit/WebKit/pull/41471
EWS
Comment 3
2025-02-27 00:10:05 PST
Committed
291207@main
(b59ef2092d47): <
https://commits.webkit.org/291207@main
> Reviewed commits have been landed. Closing PR #41471 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug