Skip to content

Commit 396a924

Browse files
tweak abinit test to allow for small differences in floating point precision
1 parent ed9c785 commit 396a924

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/abinit/conftest.py

-4
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ def check_run_abi(ref_path: str | Path):
141141
# TODO: should we still add some check on the pseudos here ?
142142
assert diffs == [], f"'run.abi' is different from reference:\n{diffs}"
143143

144-
for fp_key in ("tsmear",):
145-
if (ref_val := ref.datasets[0].get(fp_key)) is not None:
146-
assert user.datasets[0].get(fp_key) == pytest.approx(ref_val)
147-
148144

149145
def check_abinit_input_json(ref_path: str | Path):
150146
from abipy.abio.inputs import AbinitInput

0 commit comments

Comments
 (0)