Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d99002a

Browse files
Noa Levilphuc2250gma
authored andcommitted
TST: fix duplicated word 'to to' in nditer test comment
1 parent 791aff4 commit d99002a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

numpy/_core/tests/test_nditer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ def test_iter_buffered_cast_structured_type_failure_with_cleanup():
21832183

21842184
for intent in ["readwrite", "readonly", "writeonly"]:
21852185
# This test was initially designed to test an error at a different
2186-
# place, but will now raise earlier to to the cast not being possible:
2186+
# place, but will now raise earlier due to the cast not being possible:
21872187
# `assert np.can_cast(a.dtype, sdt2, casting="unsafe")` fails.
21882188
# Without a faulty DType, there is probably no reliable
21892189
# way to get the initial tested behaviour.

0 commit comments

Comments
 (0)