summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/tests/test_ufunc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/tests/test_ufunc.py b/numpy/core/tests/test_ufunc.py
index 84d304595..57fd66892 100644
--- a/numpy/core/tests/test_ufunc.py
+++ b/numpy/core/tests/test_ufunc.py
@@ -743,9 +743,9 @@ class TestUfunc(TestCase):
uf.accumulate(np.zeros((0, 0)), axis=0)
def test_safe_casting(self):
- # In old numpy's, unsafe casting was allowed for in-place
- # operations. In future numpy's, only same_kind casting will be
- # allowed by default.
+ # In old versions of numpy, in-place operations used the 'unsafe'
+ # casting rules. In some future version, 'same_kind' will become the
+ # default.
a = np.array([1, 2, 3], dtype=int)
# Non-in-place addition is fine
assert_array_equal(assert_no_warnings(np.add, a, 1.1),