Skip to content

Commit

Permalink
accomodate py37
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed Jun 25, 2024
1 parent 0e51208 commit 4799b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qcengine/tests/test_qcmanybody.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ def test_nbody_he4_single(program, basis, keywords, mbe_keywords, anskey, calcin
assert compare_values(ans, ret.properties.return_energy, atol=atol, label=f"[f] skprop {skp}")
assert compare_values(ans, ret.return_result, atol=atol, label=f"[g] ret")

assert ret.properties.calcinfo_nmbe == ref_nmbe, f"[i] {ret.properties.calcinfo_nmbe=} != {ref_nmbe}"
assert ret.properties.calcinfo_nmbe == ref_nmbe, f"[i] {ret.properties.calcinfo_nmbe} != {ref_nmbe}"
assert (
len(ret.component_results) == ref_nmbe
), f"[k] {len(ret.component_results)=} != {ref_nmbe}; mbe protocol did not take"
), f"[k] {len(ret.component_results)} != {ref_nmbe}; mbe protocol did not take"
if ref_nmbe > 0:
an_atres = next(iter(ret.component_results.values()))
assert an_atres.stdout is None, f"[l] atomic protocol did not take"
Expand Down

0 comments on commit 4799b9e

Please sign in to comment.