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

add pytest skip reason

Browse files
Files changed (1) hide show
  1. tests/test_eos.py +1 -1
tests/test_eos.py CHANGED
@@ -8,7 +8,7 @@ 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.
 
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), reason="requires Python 3.11 to use prefect")
12
  def test_eos(model: MLIPEnum):
13
  """
14
  Test EOS prefect workflow with a simple cubic lattice.