Build and test python package on Windows CI (#3049)
This commit is contained in:
@@ -1618,6 +1618,11 @@ class TestArray(mlx_tests.MLXTestCase):
|
||||
self.assertEqual(mv_mx.format, "Q", f"{mlx_dtype}{np_dtype}")
|
||||
elif np_dtype == np.int64:
|
||||
self.assertEqual(mv_mx.format, "q", f"{mlx_dtype}{np_dtype}")
|
||||
# for windows long is 32bit and numpy returns L/l.
|
||||
elif np_dtype == np.uint32 and platform.system() == "Windows":
|
||||
self.assertEqual(mv_mx.format, "I", f"{mlx_dtype}{np_dtype}")
|
||||
elif np_dtype == np.int32 and platform.system() == "Windows":
|
||||
self.assertEqual(mv_mx.format, "i", f"{mlx_dtype}{np_dtype}")
|
||||
else:
|
||||
self.assertEqual(
|
||||
mv_mx.format, mv_np.format, f"{mlx_dtype}{np_dtype}"
|
||||
|
||||
Reference in New Issue
Block a user