From 11c08131b3e18462d3d5e923fd4ef5d5d896ae65 Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Tue, 2 Jan 2024 11:00:21 -0500 Subject: [PATCH] Increase tolerance on cmd_states pitch test --- cheta/tests/test_comps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheta/tests/test_comps.py b/cheta/tests/test_comps.py index c9109648..ae6357f6 100644 --- a/cheta/tests/test_comps.py +++ b/cheta/tests/test_comps.py @@ -205,7 +205,7 @@ def test_cmd_states(): 173.38189234, ] ) - assert np.allclose(dat.vals, exp_vals) + assert np.allclose(dat.vals, exp_vals, rtol=0, atol=1e-3) assert type(dat.vals) is np.ndarray assert np.allclose(np.diff(dat.times), 1025.0) assert not np.any(dat.bads)