8000 STY: another wording tweak (thanks to @charris) · numpy/numpy@f18987a · GitHub
[go: up one dir, main page]

Skip to content

Commit f18987a

Browse files
committed
STY: another wording tweak (thanks to @charris)
1 parent c038fe5 commit f18987a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numpy/core/tests/test_ufunc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,9 +743,9 @@ def t(expect, func, n, m):
743743
uf.accumulate(np.zeros((0, 0)), axis=0)
744744

745745
def test_safe_casting(self):
746-
# In old numpy's, unsafe casting was allowed for in-place
747-
# operations. In future numpy's, only same_kind casting will be
748-
# allowed by default.
746+
# In old versions of numpy, in-place operations used the 'unsafe'
747+
# casting rules. In some future version, 'same_kind' will become the
748+
# default.
749749
a = np.array([1, 2, 3], dtype=int)
750750
# Non-in-place addition is fine
751751
assert_array_equal(assert_no_warnings(np.add, a, 1.1),

0 commit comments

Comments
 (0)
0