cyrusyc commited on
Commit
4cf73ad
·
1 Parent(s): c3e45ae

test eos on only 3.11

Browse files
Files changed (1) hide show
  1. 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.