Skip to content

Commit a9dc478

Browse files
honnoasmeurer
andauthored
Apply suggestions from code review
Co-authored-by: Aaron Meurer <[email protected]>
1 parent 3f6e330 commit a9dc478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

array_api_tests/test_creation_functions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_eye(n_rows, n_cols, k, dtype):
111111
else:
112112
a = eye(n_rows, n_cols, **kwargs)
113113
if dtype is None:
114-
assert is_float_dtype(a.dtype), "eye() should returned an array with the default floating point dtype"
114+
assert is_float_dtype(a.dtype), "eye() should return an array with the default floating point dtype"
115115
else:
116116
assert a.dtype == dtype, "eye() did not produce the correct dtype"
117117

@@ -136,7 +136,7 @@ def test_full(shape, fill_value, dtype):
136136

137137
if dtype is None:
138138
# TODO: Should it actually match the fill_value?
139-
# assert a.dtype in _floating_dtypes, "eye() should returned an array with the default floating point dtype"
139+
# assert a.dtype in _floating_dtypes, "eye() should return an array with the default floating point dtype"
140140
pass
141141
else:
142142
assert a.dtype == dtype

0 commit comments

Comments
 (0)