TestVeryLargeArray creates a dataset with 2^31 elements and checks the returned shape of the dataset using np.prod. This works fine on Linux/OSX but runs into an issue on Windows because the default numpy integer type on Windows is 32-bit. This explicitly sets this operation to use a 64-bit int type.
TestVeryLargeArray
creates a dataset with 2^31 elements and checks the returned shape of the dataset usingnp.prod
. This works fine on Linux/OSX but runs into an issue on Windows because the default numpy integer type on Windows is 32-bit. This explicitly sets this operation to use a 64-bit int type.