def test_copyto_dtype(self, xp, dtype): a = testing.shaped_arange((2, 3, 4), xp, dtype='?') b = xp.empty((2, 3, 4), dtype=dtype) xp.copyto(b, a) return b