Skip to content

Commit 6097b39

Browse files
committed
MAINT: cleanup legacy import
1 parent fecf1b3 commit 6097b39

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

astroquery/mpc/core.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
from astropy.table import Table, QTable, Column
1212
import astropy.units as u
1313
from astropy.coordinates import EarthLocation, Angle, SkyCoord
14-
try:
15-
from astropy.utils.exceptions import ErfaWarning
16-
except ImportError:
17-
# DEPRECATED: remove eventually, but needed in July 2020
18-
from astropy._erfa.core import ErfaWarning
14+
from astropy.utils.exceptions import ErfaWarning
1915

2016
from ..query import BaseQuery
2117
from . import conf

0 commit comments

Comments
 (0)