Skip to content

Commit cedb4ad

Browse files
authored
Partial backport of #13657
1 parent faae335 commit cedb4ad

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎astropy/io/fits/tests/test_image.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,10 +1140,9 @@ def test_comp_image_quantize_level(self):
11401140
np.random.seed(42)
11411141

11421142
if SCIPY_LT_1_10:
1143-
import scipy.misc
1143+
import scipy.misc # No lazy loading for SCIPY_LT_1_9
11441144
scipy_data = scipy.misc.ascent()
11451145
else:
1146-
import scipy.datasets
11471146
scipy_data = scipy.datasets.ascent()
11481147

11491148
data = scipy_data + np.random.randn(512, 512)*10

0 commit comments

Comments
 (0)