Skip to content

Commit d54f567

Browse files
committed
Fix: Conflicting type on Windows
1 parent 0ce4024 commit d54f567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,8 @@ def to_array(x, dtype=None):
614614
(simd.cosine, LookupError, (to_array([1 + 2j]), to_array([1 + 2j])), {}),
615615
# Test incompatible vectors for cosine
616616
(simd.cosine, ValueError, (to_array([1.0]), to_array([1.0, 2.0])), {}), # Different number of dimensions
617-
(simd.cosine, TypeError, (to_array([1.0]), to_array([1], "uint32")), {}), # Floats and integers
618-
(simd.cosine, TypeError, (to_array([1]), to_array([1], "float16")), {}), # Different floats
617+
(simd.cosine, TypeError, (to_array([1.0]), to_array([1], "int8")), {}), # Floats and integers
618+
(simd.cosine, TypeError, (to_array([1], "float32"), to_array([1], "float16")), {}), # Different floats
619619
],
620620
)
621621
def test_invalid_argument_handling(function, expected_error, args, kwargs):

0 commit comments

Comments
 (0)