Skip to content

Commit a6919e8

Browse files
committed
Import deprecation decorators from astropy
The deprecation decorators can be imported directly from `astropy`, and importing them through `astroquery.utils.decorators` is deprecated. This commit updates the only instance of importing the decorators through `astroquery.utils`
1 parent ba10f9f commit a6919e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/cadc/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from ..query import BaseQuery
1919
from bs4 import BeautifulSoup
2020
from astropy.utils.exceptions import AstropyDeprecationWarning
21-
from astroquery.utils.decorators import deprecated
21+
from astropy.utils.decorators import deprecated
2222
from astropy import units as u
2323
from . import conf
2424

0 commit comments

Comments
 (0)