fix tests edisp
@@ -202,5 +202,5 @@ def test_get_bias_energy():
"""Obs read from file"""
rmffile = "$GAMMAPY_DATA/joint-crab/spectra/hess/rmf_obs23523.fits"
edisp = EDispKernel.read(rmffile)
- thresh_lo = edisp.get_bias_energy(0.1)
+ thresh_lo = edisp.get_bias_energy(0.1*u.TeV)
assert_allclose(thresh_lo.to("TeV").value, 0.9174, rtol=1e-4)
