Skip to content

Commit 28ffd47

Browse files
authored
nit
1 parent 7bc51a1 commit 28ffd47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/array_api_extra/_lib/_testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _check_ns_shape_dtype(
8181
# Ignore shape, but check flattened size. This is normally done by
8282
# np.testing.assert_array_equal etc even when strict=False, but not for
8383
# non-materializable arrays.
84-
# This check excludes 0d arrays as they are special case in numpy.
84+
# This check excludes 0d arrays as they are special-cased in NumPy.
8585
actual_size = math.prod(actual_shape) # pyright: ignore[reportUnknownArgumentType]
8686
desired_size = math.prod(desired_shape) # pyright: ignore[reportUnknownArgumentType]
8787
msg = f"sizes do not match: {actual_size} != f{desired_size}"

0 commit comments

Comments
 (0)