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 b210e2c commit 0936170Copy full SHA for 0936170
tests/test_OMCPath.py
@@ -7,8 +7,14 @@
7
reason="OpenModelica Docker image is Linux-only; skipping on Windows.",
8
)
9
10
+skip_python_older_312 = pytest.mark.skipif(
11
+ sys.version_info < (3, 12),
12
+ reason="OMCPath only working for Python >= 3.12 (definition of pathlib.PurePath).",
13
+)
14
+
15
16
@skip_on_windows
17
+@skip_python_older_312
18
def test_OMCPath_docker():
19
omcp = OMPython.OMCProcessDocker(docker="openmodelica/openmodelica:v1.25.0-minimal")
20
om = OMPython.OMCSessionZMQ(omc_process=omcp)
@@ -29,6 +35,7 @@ def test_OMCPath_docker():
29
35
del om
30
36
31
37
38
32
39
def test_OMCPath_local():
33
40
om = OMPython.OMCSessionZMQ()
34
41
0 commit comments