diff --git a/tests/creations_tests.cpp b/tests/creations_tests.cpp index 8f94fa3b8..ea43bd0e2 100644 --- a/tests/creations_tests.cpp +++ b/tests/creations_tests.cpp @@ -139,14 +139,6 @@ TEST_CASE("test astype") { y = astype(x, int32); CHECK_EQ(y.dtype(), int32); CHECK_EQ(y.item(), -3); - - y = astype(x, uint32); - CHECK_EQ(y.dtype(), uint32); - - // Use std::copy since the result is platform dependent - uint32_t v; - std::copy(x.data(), x.data() + 1, &v); - CHECK_EQ(y.item(), v); } }