diff --git a/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test.py b/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test.py index e0181a1ec5d..8f66ebf714e 100644 --- a/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test.py +++ b/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test.py @@ -3,7 +3,7 @@ import pytest import os -# Skipping the test on the ARM runners, macos-15 and macos-26, as we're running +# Skipping the test on the ARM runners, macos-15 and macos-26, as we're running # into trouble with Mono and nuget. @pytest.mark.only_if( runs_on.linux diff --git a/csharp/ql/integration-tests/posix/standalone_dependencies_nuget/test.py b/csharp/ql/integration-tests/posix/standalone_dependencies_nuget/test.py index 9a8c9b2291e..ebdad77e716 100644 --- a/csharp/ql/integration-tests/posix/standalone_dependencies_nuget/test.py +++ b/csharp/ql/integration-tests/posix/standalone_dependencies_nuget/test.py @@ -6,8 +6,14 @@ import pytest # into trouble with Mono and nuget. @pytest.mark.only_if( runs_on.linux - or (runs_on.macos and runs_on.x86_64 - and not runs_on.macos_15 and not runs_on.macos_26) + or ( + runs_on.macos + and runs_on.x86_64 + and not ( + runs_on.macos_15 + or runs_on.macos_26 + ) + ) ) def test(codeql, csharp): codeql.database.create(build_mode="none")