From 8635bbf1090fa34b76c17eeeb0d55ce719a4102b Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Mon, 12 Feb 2024 10:37:39 +0000 Subject: [PATCH] Issue #222: Another fix for Darwin unit tests, so that the reason message doesn't break. --- tests/camera/test_liver_overlay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/camera/test_liver_overlay.py b/tests/camera/test_liver_overlay.py index 730e337..cf9e761 100644 --- a/tests/camera/test_liver_overlay.py +++ b/tests/camera/test_liver_overlay.py @@ -16,7 +16,7 @@ reason=f'for [{platform.system()} OSs with ' f'CI=[{os.environ.get("CI")}] with ' f'RUNNER_OS=[{os.environ.get("RUNNER_OS")}] ' - f'SESSION_MANAGER=[{os.environ.get("SESSION_MANAGER")[0:20] if (platform.system() == "Darwin" and os.environ.get("GITHUB_ACTIONS") is not None) else ""}] ' + f'SESSION_MANAGER=[{os.environ.get("SESSION_MANAGER")[0:20] if (platform.system() == "Darwin" and os.environ.get("GITHUB_ACTIONS") is not None and os.environ.get("SESSION_MANAGER") is not None) else ""}] ' f'XDG_CURRENT_DESKTOP=[{os.environ.get("XDG_CURRENT_DESKTOP") if (platform.system() == "Darwin" and os.environ.get("GITHUB_ACTIONS") is not None) else ""}] ' f'due to issues with Fatal Python error: Segmentation fault' )