diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f3f956d..6a6ae71 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.7 + rev: v0.14.8 hooks: - id: ruff name: ruff lint diff --git a/tests/test_pyiron_atomistics_live.py b/tests/test_pyiron_atomistics_live.py index ec42f1e..b07b9ef 100644 --- a/tests/test_pyiron_atomistics_live.py +++ b/tests/test_pyiron_atomistics_live.py @@ -62,9 +62,11 @@ def test_sphinx_calc_static(self): slash="ignore", ) job_sphinx = get_dataclass_v1(job_dict[job.job_name]) - self.assertEqual( - job_sphinx.calculation_output.generic.energy_tot[-1], - -228.78316094884508 * ureg.eV, + self.assertTrue( + job_sphinx.calculation_output.generic.energy_tot[-1] in [ + -228.78316094884508 * ureg.eV, # pint 0.24 + -228.7831609478655 * ureg.eV, # pint 0.25 + ] ) def test_lammps_calc_static(self):