FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-134986: Catch PermissionError when trying to call perf in tests (GH-134987) by miss-islington · Pull Request #135841 · python/cpython · GitHub

Repository navigation

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

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-6ab842f-3.14
Jun 23, 2025
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-6ab842f-3.14

Conversation

miss-islington commented Jun 23, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 6ab842f)

Co-authored-by: Emma Smith emma@emmatyping.dev

…sts (pythonGH-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 6ab842f)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL