summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2012-09-21 00:25:11 +0100
committerNathaniel J. Smith <njs@pobox.com>2012-09-21 00:25:18 +0100
commitf18987a69c297b5602b00c22b9759d2ece4a7bf1 (patch)
tree5715ce2b46ad86a09b9d40016251f3ff9c587183
parentc038fe59a8c355fee50a6c2ac236e750e0ad0ad5 (diff)
downloadnumpy-f18987a69c297b5602b00c22b9759d2ece4a7bf1.tar.gz
STY: another wording tweak (thanks to @charris)
-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),