What is the purpose of this test? i.e. why check that numpy astype behaves as expected.
If there is something more to it than what I can see, perhaps it should be in a comment.
It no longer does any interpolation..