Skip to content

Commit 4f5ad3d

Browse files
Restore original tolerances in test_AnalysisFromFunction_args_content with assert_allclose
1 parent 4ddcd35 commit 4f5ad3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testsuite/MDAnalysisTests/analysis/test_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ def test_AnalysisFromFunction_args_content(u, client_AnalysisFromFunction):
613613
ans = base.AnalysisFromFunction(mass_xyz, protein, another, masses)
614614
assert len(ans.args) == 3
615615
result = np.sum(ans.run(**client_AnalysisFromFunction).results.timeseries)
616+
assert_allclose(result, -317054.67757345125, rtol=0, atol=1.5e-6)
616617
assert_allclose(result, -317054.67757345125, rtol=0, atol=1e-6)
617618
assert (ans.args[0] is protein) and (ans.args[1] is another)
618619
assert ans._trajectory is protein.universe.trajectory

0 commit comments

Comments
 (0)