diff --git a/h5py/tests/test_dtype.py b/h5py/tests/test_dtype.py index c4aa0191d..7dac3581c 100644 --- a/h5py/tests/test_dtype.py +++ b/h5py/tests/test_dtype.py @@ -287,7 +287,7 @@ def test_out_of_order_offsets(self): self.assertArrayEqual(fd['data'], data) def test_float_round_tripping(self): - dtypes = set(f for f in np.typeDict.values() + dtypes = set(f for f in np.sctypeDict.values() if (np.issubdtype(f, np.floating) or np.issubdtype(f, np.complexfloating)))