File: Fix-CI-for-newer-gwcs.patch

package info (click to toggle)
ndcube 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,996 kB
  • sloc: python: 7,854; makefile: 34
file content (24 lines) | stat: -rw-r--r-- 1,190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Nabil Freij <nabil.freij@gmail.com>
Date: Wed, 25 Jun 2025 20:30:28 +0100
Subject: Fix CI for newer gwcs

Part of https://github.com/sunpy/ndcube/pull/865
---
 ndcube/extra_coords/tests/test_extra_coords.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ndcube/extra_coords/tests/test_extra_coords.py b/ndcube/extra_coords/tests/test_extra_coords.py
index 4951e2f..e48190a 100644
--- a/ndcube/extra_coords/tests/test_extra_coords.py
+++ b/ndcube/extra_coords/tests/test_extra_coords.py
@@ -366,8 +366,8 @@ def test_slice_drop_dimensions(time_lut, skycoord_2d_lut):
     assert u.allclose(sec['lon'].wcs.pixel_to_world_values(list(range(2))),
                       ec['lon'].wcs.pixel_to_world_values(list(range(2)), [0, 0]))
 
-    assert u.allclose(sec['exposure_time'].wcs.pixel_to_world_values(list(range(2)), list(range(2))),
-                      ec['exposure_time'].wcs.pixel_to_world_values(list(range(2)), list(range(2))))
+    assert u.allclose(sec['exposure_time'].wcs.pixel_to_world_values(list(range(2))),
+                      ec['exposure_time'].wcs.pixel_to_world_values(list(range(2))))
 
 
 def test_slice_extra_twice(time_lut, wave_lut):