We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d15c79f commit 00ab8d1Copy full SHA for 00ab8d1
pygmt/tests/test_x2sys_cross.py
@@ -233,5 +233,5 @@ def test_x2sys_cross_trackvalues():
233
assert isinstance(output, pd.DataFrame)
234
assert output.shape == (14338, 12)
235
# Check mean of track 1 values (z_1) and track 2 values (z_2)
236
- npt.assert_allclose(output.z_1.mean(), -2422.418556)
237
- npt.assert_allclose(output.z_2.mean(), -2402.268364)
+ npt.assert_allclose(output.z_1.mean(), -2422.418556, rtol=1e-4)
+ npt.assert_allclose(output.z_2.mean(), -2402.268364, rtol=1e-4)
0 commit comments