change import in the test
@@ -4,10 +4,10 @@ import numpy as np
import astropy.units as u
from numpy.testing import assert_allclose
from astropy.tests.helper import assert_quantity_allclose
-from ..utils.testing import requires_dependency, requires_data, mpl_savefig_check
-from ..utils.scripts import make_path
-from ..irf import EffectiveAreaTable, EnergyDispersion
-from ..spectrum import (
+from ...utils.testing import requires_dependency, requires_data, mpl_savefig_check
+from ...utils.scripts import make_path
+from ...irf import EffectiveAreaTable, EnergyDispersion
+from .. import (
PHACountsSpectrum,
SpectrumObservation,
SpectrumObservationList,
