Spaces:
Running
Running
test eos on only 3.11
Browse files- tests/test_eos.py +2 -0
tests/test_eos.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import pytest
|
2 |
from ase.build import bulk
|
|
|
3 |
|
4 |
from mlip_arena.models.utils import MLIPEnum
|
5 |
from mlip_arena.tasks.eos.run import fit as EOS
|
@@ -7,6 +8,7 @@ from mlip_arena.tasks.eos.run import fit as EOS
|
|
7 |
atoms = bulk("Cu", "fcc", a=3.6)
|
8 |
|
9 |
@pytest.mark.parametrize("model", [MLIPEnum["MACE-MP(M)"]])
|
|
|
10 |
def test_eos(model: MLIPEnum):
|
11 |
"""
|
12 |
Test EOS prefect workflow with a simple cubic lattice.
|
|
|
1 |
import pytest
|
2 |
from ase.build import bulk
|
3 |
+
import sys
|
4 |
|
5 |
from mlip_arena.models.utils import MLIPEnum
|
6 |
from mlip_arena.tasks.eos.run import fit as EOS
|
|
|
8 |
atoms = bulk("Cu", "fcc", a=3.6)
|
9 |
|
10 |
@pytest.mark.parametrize("model", [MLIPEnum["MACE-MP(M)"]])
|
11 |
+
@pytest.mark.skipif(sys.version_info != (3, 11))
|
12 |
def test_eos(model: MLIPEnum):
|
13 |
"""
|
14 |
Test EOS prefect workflow with a simple cubic lattice.
|