SIGN IN SIGN UP

[3.14] gh-134986: Catch PermissionError when trying to call perf in tests (GH-134987) (#135841)

gh-134986: Catch PermissionError when trying to call perf in tests (GH-134987)

Using Ubuntu 24.04 on the Windows Subsystem for Linux, perf will raise a
`PermissionError` instead of `FileNotFoundError`. This commit modifies
the tests to catch that.
(cherry picked from commit 6ab842fce50a6125797bcddfc4a4b2622aa6c6a9)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
M
Miss Islington (bot) committed
85fbf80ca214bdf2e1eb36691bc0e54335c7a09f
Parent: f0a330e
Committed by GitHub <noreply@github.com> on 6/23/2025, 10:53:55 AM