Skip to content

Commit 3e3829f

Browse files
committed
skip parallel test on anything but linux.
1 parent 0cdc555 commit 3e3829f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/test_consistent_outputs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from pathlib import Path
2+
import platform
23

34
import pytest
45
import numpy as np
@@ -407,6 +408,9 @@ def test_same_models_diff_save_dt_saveend(self, tmp_path: Path) -> None:
407408
ModelA.close()
408409
ModelB.close()
409410

411+
@pytest.mark.skipif(
412+
platform.system() != "Linux", reason="Parallel support only on Linux OS."
413+
)
410414
def test_same_models_in_serial_or_parallel(self, tmp_path: Path) -> None:
411415
"""Test models that have same parameters but different save_dt."""
412416
file_name = "user_parameters_ser.yaml"

0 commit comments

Comments
 (0)