From 92049283e39a45348e6dfc133df0edbf4821d3b3 Mon Sep 17 00:00:00 2001 From: beckermr Date: Tue, 10 Dec 2024 16:53:11 -0600 Subject: [PATCH] fix: make sure path to input test data is correct --- tests/test_wcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wcs.py b/tests/test_wcs.py index 7b3d206950..b01ed978c2 100644 --- a/tests/test_wcs.py +++ b/tests/test_wcs.py @@ -2940,7 +2940,7 @@ def test_fittedsipwcs_singular(): # This test is in response to a case in imsim where the FittedSIPWCS could hit a # singular matrix error in the solver. - data = np.load('input/singular.npz') + data = np.load(os.path.join(os.path.dirname(__file__), 'input/singular.npz')) x = data['x'] y = data['y'] ra = data['ra']