def test_no_truncate_using_compare():
 w = wcs.WCS(naxis=3)
 w.wcs.crval = [240.9303333333, 50, 212345678000.0]
 w.wcs.cdelt = [0.001, 0.001, 100000000.0]
 w.wcs.ctype = [u'RA---TAN', u'DEC--TAN', u'FREQ']
 w.wcs.set()
 w2 = wcs.WCS(w.to_header())
 w.wcs.compare(w2.wcs)

def test_no_truncate_using_compare ( ) : w = wcs . WCS ( naxis = 3 ) w . wcs . crval = [ 240.9303333333 , 50 , 212345678000.0 ] w . wcs . cdelt = [ 0.001 , 0.001 , 100000000.0 ] w . wcs . ctype = [ u'RA---TAN' , u'DEC--TAN' , u'FREQ' ] w . wcs . set ( ) w2 = wcs . WCS ( w . to_header ( ) ) w . wcs . compare ( w2 . wcs )
regression test for URL this one uses wcs .