|
14 | 14 |
|
15 | 15 |
|
16 | 16 | """ |
17 | | -import unittest |
18 | 17 | import os |
19 | | -import pytest |
20 | 18 | import shutil |
21 | | -import mock |
| 19 | +import unittest |
| 20 | +from unittest.mock import MagicMock |
| 21 | + |
| 22 | +import astropy.units as u |
| 23 | +import numpy as np |
| 24 | +import pytest |
| 25 | +from astropy import units |
| 26 | +from astropy.coordinates.sky_coordinate import SkyCoord |
| 27 | +from astropy.table import Table |
| 28 | +from astropy.units import Quantity |
22 | 29 |
|
23 | 30 | from astroquery.esa.jwst import JwstClass |
24 | 31 | from astroquery.esa.jwst.tests.DummyTapHandler import DummyTapHandler |
25 | | -from astroquery.esa.jwst.tests.DummyDataHandler import DummyDataHandler |
| 32 | +from astroquery.ipac.ned import Ned |
| 33 | +from astroquery.simbad import Simbad |
| 34 | +from astroquery.utils import TableList |
26 | 35 | from astroquery.utils.tap.conn.tests.DummyConnHandler import DummyConnHandler |
27 | 36 | from astroquery.utils.tap.conn.tests.DummyResponse import DummyResponse |
28 | | -import astropy.units as u |
29 | | -from astropy.coordinates.sky_coordinate import SkyCoord |
30 | | -from astropy.units import Quantity |
31 | | -import numpy as np |
32 | | -from astroquery.utils.tap.xmlparser import utils |
33 | 37 | from astroquery.utils.tap.core import TapPlus |
34 | | -from astropy.io.votable import parse |
35 | | -from astropy.table.table import Table |
36 | | -from astroquery.utils import TableList |
37 | | -from astroquery.simbad import Simbad |
| 38 | +from astroquery.utils.tap.xmlparser import utils |
38 | 39 | from astroquery.vizier import Vizier |
39 | | -from astroquery.ipac.ned import Ned |
40 | | -from astropy.table import Table |
41 | | -from astropy import units |
42 | | -from astropy.logger import log |
43 | | - |
44 | | -from unittest.mock import MagicMock |
45 | 40 |
|
46 | 41 |
|
47 | 42 | def data_path(filename): |
|
0 commit comments