Open FRidh opened 6 years ago
Does anyone know anything about this failure?
It has to do with changes in numpy in 1.14.0+: https://github.com/numpy/numpy/blob/master/doc/release/1.14.0-notes.rst#future-changes
In particular:
np.issubdtype will stop downcasting dtype-like arguments. It might be expected that issubdtype(np.float32, 'float64') and issubdtype(np.float32, np.float64) mean the same thing - however, there was an undocumented special case that translated the former into issubdtype(np.float32, np.floating), giving the surprising result of True.
This means that all the validate
tests are now just meaningless for what they were testing with 'int'
.