def test_skycoord_angle_pair(self):
     input = (self.posn, self.posn_err)
     assert wrappers.format_conesearch_params(input) == self.cone_string
 def test_float_tuple(self):
     input = (self.posn.ra.deg, self.posn.dec.deg, self.posn_err.deg)
     assert wrappers.format_conesearch_params(input) == self.cone_string
 def test_valid_string_passthrough(self):
     assert (wrappers.format_conesearch_params(self.cone_string) ==
             self.cone_string)
 def test_skycoord_units_pair(self):
     input = (self.posn, self.posn_err.deg * units.deg)
     assert wrappers.format_conesearch_params(input) == self.cone_string