Skip to content

gh-148853: /run/ on my FreeBSD install is not readable causing failing test#148854

Open
neek78 wants to merge 1 commit intopython:mainfrom
neek78:small-fixes
Open

gh-148853: /run/ on my FreeBSD install is not readable causing failing test#148854
neek78 wants to merge 1 commit intopython:mainfrom
neek78:small-fixes

Conversation

@neek78
Copy link
Copy Markdown

@neek78 neek78 commented Apr 21, 2026

In in_systemd_nspawn_sync_suppressed(), we don't catch a PermissionError. This causes test invocation to fail when (for example) /run is not readable. Catch the exception in the same place that a FileNotFoundError is caught.

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented Apr 21, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant