File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,10 @@ def test_footprint_to_reg_pointing(pointing_footprint_str=pointing_footprint_str
98
98
assert actual_reg .center .dec == reg_output [0 ].center .dec
99
99
assert actual_reg .radius == reg_output [0 ].radius
100
100
101
+
101
102
@pytest .mark .skipif (not HAS_REGIONS , reason = "regions is required" )
102
103
def test_footprint_to_reg_plot (pointing_footprint_str = pointing_footprint_str ):
103
- reg_output = footprint_to_reg (pointing_footprint_str )
104
+ reg_output = utils . footprint_to_reg (pointing_footprint_str )
104
105
105
106
from astropy .wcs import WCS
106
107
ww = WCS (naxis = 2 )
@@ -111,4 +112,4 @@ def test_footprint_to_reg_plot(pointing_footprint_str=pointing_footprint_str):
111
112
112
113
pix_region = reg_output [0 ].to_pixel (ww )
113
114
artist = pix_region .as_artist ()
114
- assert artist is not None
115
+ assert artist is not None
You can’t perform that action at this time.
0 commit comments