Regression tests contain multiple deprecation warnings similar to:
COMPARE: acs_square_drz.fits
['fitsdiff', '-d', '1e-07', '-k', 'origin,filename,date,iraf-tlm,fitsdate,upwtim,wcscdate,upwcsver,pywcsver,prod_ver, rulefile,history', 'acs_square_drz.fits', 'reference_square.fits']
WARNING: AstropyDeprecationWarning: "-d" ("--difference-tolerance") was deprecated in version 2.0 and will be removed in a future version. Use "-r" ("--relative-tolerance") instead. [astropy.io.fits.scripts.fitsdiff]
Regression tests contain multiple deprecation warnings similar to:
This is due to addition of absolute tolerance comparison in https://github.com/astropy/astropy/pull/4729
This PR renames option
-d
to-r
in order to get rid of deprecation warnings.