SIGN IN SIGN UP

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

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
3e81d56a1bfd2cc0afc01f1d9c126d286c4943ec
Parent: b79e64b
Committed by GitHub <noreply@github.com> on 6/23/2025, 10:51:51 AM