diff --git a/src/pint/observatory/clock_file.py b/src/pint/observatory/clock_file.py index 2d08ca6c9..26089c45f 100644 --- a/src/pint/observatory/clock_file.py +++ b/src/pint/observatory/clock_file.py @@ -872,10 +872,7 @@ def evaluate(self, t, limits="warn"): corrections : astropy.units.Quantity The corrections in units of microseconds. """ - with warnings.catch_warnings(): - # FIXME: could these warnings be useful? - warnings.filterwarnings("ignore", r".*dubuious year", erfa.ErfaWarning) - needs_update = np.any(t > self.clock_file.time[-1]) + needs_update = np.any(t > self.clock_file.time[-1]) if needs_update: self.update() return self.clock_file.evaluate(t, limits=limits)