You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IERS TestIERS_A class is not automatically run #9232
The astropy.utils.tests.test_iers.TestIERS_A is run only if the directory holds an finals2000A.all file, which will never be the case in a CI run. The tests there should be merged with an IERS_Auto tests in which the file is actually downloaded.
EDIT: there are also a few tests in time/tests/test_ut1.py that do the same check.
Does it need a specific finals2000A.all file or will any old one do? If the latter just using download_file(IERS_A_URL, cache=True) as the filename will have the desired effect (download just once in the first test that needs it). (Leaving aside the tests that wipe the download cache.)
Activity
aarchiba commentedon Sep 15, 2019
Does it need a specific finals2000A.all file or will any old one do? If the latter just using download_file(IERS_A_URL, cache=True) as the filename will have the desired effect (download just once in the first test that needs it). (Leaving aside the tests that wipe the download cache.)
mhvk commentedon Sep 15, 2019
Any one will do, really, so I think you're right that one might as well use the downloaded version (it gets downloaded in other tests anyway).
p.s. And, yes, we definitely need to think more about the cache!
mhvk commentedon Nov 29, 2024
All tests are run these days, so closing.