From 5c77056f7a806264442759a8bce88c500ed67158 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 15 Jan 2025 12:14:10 +0000 Subject: [PATCH] Fix tests --- tests/test_points.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_points.py b/tests/test_points.py index cd7dced2..fb75f4a3 100644 --- a/tests/test_points.py +++ b/tests/test_points.py @@ -53,12 +53,12 @@ def test_effective_bias(mocker: pytest_mock.MockerFixture) -> None: z = np.linspace(0, 1, 10) bz = np.zeros((10,)) - np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((10,))) + np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((1,))) z = np.zeros((10,)) bz = np.full_like(z, 0.5) - np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((10,))) + np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((1,))) z = np.linspace(0, 1, 10) bz = np.full_like(z, 0.5)