diff --git a/python/tests/test_Orientation.py b/python/tests/test_Orientation.py index d1fd02294..6adf14fb7 100644 --- a/python/tests/test_Orientation.py +++ b/python/tests/test_Orientation.py @@ -328,7 +328,7 @@ class TestOrientation: **dict(zip(['a','b','c'],lengths)), **dict(zip(['alpha','beta','gamma'],np.arccos(cosines))), ) - assert np.allclose(o.to_frame(uvw=np.eye(3)),basis), 'Lattice basis disagrees with initialization' + assert np.allclose(o.to_frame(uvw=np.eye(3)),basis,rtol=1e-4), 'Lattice basis disagrees with initialization' @pytest.mark.parametrize('lattice,a,b,c,alpha,beta,gamma', [