Skip to content

Commit 74498f1

Browse files
tweak abinit test to allow for small differences in floating point precision
1 parent 1a17e10 commit 74498f1

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
@@ -189,10 +189,6 @@ def check_equivalent_znucl_typat(
189189
{count_sorted_znucl_a} vs. {count_sorted_znucl_b}"
190190
)
191191

192-
for fp_key in ("tsmear",):
193-
if (ref_val := ref.datasets[0].get(fp_key)) is not None:
194-
assert user.datasets[0].get(fp_key) == pytest.approx(ref_val)
195-
196192

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

0 commit comments

Comments
 (0)