summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Bourque <jay.bourque@continuum.io>2013-04-03 14:44:08 -0500
committerJay Bourque <jay.bourque@continuum.io>2013-08-16 16:39:31 -0500
commit4b3384973d4f84aa546a80e412d00231ba618fa1 (patch)
tree2b1049fc8407cb4ac4b7aa5538c1cf5f2b8eae89
parent5dea4ca1d3c6185a530e40a6ea7099e3eb3fd46c (diff)
downloadnumpy-4b3384973d4f84aa546a80e412d00231ba618fa1.tar.gz
Fix DeprecationWarning on python 3.3
-rw-r--r--numpy/core/tests/test_ufunc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_ufunc.py b/numpy/core/tests/test_ufunc.py
index 7373d5ae5..7342bd70c 100644
--- a/numpy/core/tests/test_ufunc.py
+++ b/numpy/core/tests/test_ufunc.py
@@ -968,7 +968,7 @@ class TestUfunc(TestCase):
assert_raises(IndexError, np.add.at, a, [], 1)
# Test mixed dtypes
- a = np.arange(10, dtype='u8')
+ a = np.arange(10, dtype='i8')
np.power.at(a, [1,2,3,2], 3.5)
assert_equal(a, [0, 1, 4414, 46, 4, 5, 6, 7, 8, 9])