@@ -219,16 +219,14 @@ def test_add_markers(self):
219219 with pytest .raises (ValueError , match = 'not allowed' ):
220220 self .image .add_markers (tab , marker_name = name )
221221
222-
223222 # Add markers with no marker name and check we can retrieve them
224223 # using the default marker name
225- self .image .add_markers (tab , x_colname = 'x' , y_colname = 'y' ,
224+ self .image .add_markers (tab , x_colname = 'x' , y_colname = 'y' ,
226225 skycoord_colname = 'coord' )
227226 # Don't care about the order of the marker names so use set instead of
228227 # list.
229228 marknames = self .image ._marktags
230- assert (set (marknames ) ==
231- set (['test2' , self .image ._default_mark_tag_name ]))
229+ assert (set (marknames ) == set (['test2' , self .image ._default_mark_tag_name ]))
232230 # assert (set(self.image.get_marker_names()) ==
233231 # set(['test2', self.image._default_mark_tag_name]))
234232
@@ -267,9 +265,9 @@ def test_adding_markers_as_world(self, data, wcs):
267265 np .testing .assert_allclose (result ['x' ], marks_pix ['x' ])
268266 np .testing .assert_allclose (result ['y' ], marks_pix ['y' ])
269267 np .testing .assert_allclose (result ['coord' ].ra .deg ,
270- mark_coord_table ['coord' ].ra .deg )
268+ mark_coord_table ['coord' ].ra .deg )
271269 np .testing .assert_allclose (result ['coord' ].dec .deg ,
272- mark_coord_table ['coord' ].dec .deg )
270+ mark_coord_table ['coord' ].dec .deg )
273271
274272 def test_stretch (self ):
275273 original_stretch = self .image .stretch
0 commit comments