We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3e990 commit 7c54d66Copy full SHA for 7c54d66
1 file changed
Lib/test/support/__init__.py
@@ -3164,7 +3164,7 @@ def in_systemd_nspawn_sync_suppressed() -> bool:
3164
with open("/run/systemd/container", "rb") as fp:
3165
if fp.read().rstrip() != b"systemd-nspawn":
3166
return False
3167
- except FileNotFoundError:
+ except (FileNotFoundError, PermissionError):
3168
3169
3170
# If systemd-nspawn is used, O_SYNC flag will immediately
0 commit comments