Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791aff4 commit d99002aCopy full SHA for d99002a
1 file changed
numpy/_core/tests/test_nditer.py
@@ -2183,7 +2183,7 @@ def test_iter_buffered_cast_structured_type_failure_with_cleanup():
2183
2184
for intent in ["readwrite", "readonly", "writeonly"]:
2185
# 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:
+ # place, but will now raise earlier due to the cast not being possible:
2187
# `assert np.can_cast(a.dtype, sdt2, casting="unsafe")` fails.
2188
# Without a faulty DType, there is probably no reliable
2189
# way to get the initial tested behaviour.
0 commit comments