@raises(TypeError)
def test_extra_kwarg():
 w = wcs.WCS()
 with NumpyRNGContext(123456789):
  data = np.random.rand(100, 2)
  w.wcs_pix2world(data, origin=1)

@ raises ( TypeError ) def test_extra_kwarg ( ) : w = wcs . WCS ( ) with NumpyRNGContext ( 123456789 ) : data = np . random . rand ( 100 , 2 ) w . wcs_pix2world ( data , origin = 1 )
issue #444 .