Skip to content

Commit 0eac0e2

Browse files
authored
Merge pull request #547 from MSeifert04/fix_futurewarning_numpy
Fix a FutureWarning from NumPy regarding non-dtype argument for issubdtype
2 parents cccec89 + 8a33b17 commit 0eac0e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ccdproc/tests/test_ccddata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_initialize_from_FITS(ccd_data, tmpdir):
6666
cd = CCDData.read(filename, unit=u.electron)
6767
assert cd.shape == (10, 10)
6868
assert cd.size == 100
69-
assert np.issubdtype(cd.data.dtype, np.float)
69+
assert np.issubdtype(cd.data.dtype, np.floating)
7070
for k, v in hdu.header.items():
7171
assert cd.meta[k] == v
7272

0 commit comments

Comments
 (0)