From f1db6dd8ae43c159d03d2c9b1c8271786c94c899 Mon Sep 17 00:00:00 2001 From: petermeisrimelmodelon Date: Thu, 15 Jan 2026 11:58:53 +0000 Subject: [PATCH] test: platform based skipif for linux only fmus --- tests/test_fmi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_fmi.py b/tests/test_fmi.py index bbd922c2..35072845 100644 --- a/tests/test_fmi.py +++ b/tests/test_fmi.py @@ -27,6 +27,7 @@ from pathlib import Path import xml.etree.ElementTree as ET import re +import platform from pyfmi.fmi import ( FMUException, @@ -1666,6 +1667,7 @@ def test_load_xml(self, fmu_path, test_class): model = test_class(fmu_path, _connect_dll=False) assert model.get_name() == "CoupledClutches" +@pytest.mark.skipif(platform.system() != "Linux", reason = "Only Linux binaries") @pytest.mark.parametrize("fmu_path", [ TEST_FMU_FMI2_ME_PATH / "testModels_noStateAssertFailureFunctionLocalVariable.fmu",