Skip to content

Commit bbf89fc

Browse files
committed
Fix a typo in an error message
1 parent d5ea2ef commit bbf89fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_creation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_linspace(start, stop, num, dtype, endpoint):
156156

157157
if endpoint in [None, True]:
158158
if num > 1:
159-
assert all(equal(a[-1], full((), stop, dtype=dtype))), "linspace() produced an array that does not the endpoint"
159+
assert all(equal(a[-1], full((), stop, dtype=dtype))), "linspace() produced an array that does not include the endpoint"
160160
else:
161161
# linspace(..., num, endpoint=False) is the same as the first num
162162
# elements of linspace(..., num+1, endpoint=True)

0 commit comments

Comments
 (0)