summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorJay Bourque <jay.bourque@continuum.io>2013-04-03 15:03:39 -0500
committerJay Bourque <jay.bourque@continuum.io>2013-08-16 16:39:31 -0500
commitd467d492acec36622fcb6e060e1ba2c23b797775 (patch)
tree8a201bab5912c4c3a4cbf1e24b19c7080c2a6786 /numpy
parent2e652047b98390c602f8a74aac73644d5a3c95ed (diff)
downloadnumpy-d467d492acec36622fcb6e060e1ba2c23b797775.tar.gz
Maybe this will fix the DeprecationWarning
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_ufunc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_ufunc.py b/numpy/core/tests/test_ufunc.py
index c81003882..50bad44aa 100644
--- a/numpy/core/tests/test_ufunc.py
+++ b/numpy/core/tests/test_ufunc.py
@@ -968,9 +968,9 @@ class TestUfunc(TestCase):
assert_raises(IndexError, np.add.at, a, [], 1)
# Test mixed dtypes
- a = np.arange(10, dtype='u8')
+ a = np.arange(10)
np.power.at(a, [1,2,3,2], 3.5)
- assert_equal(a, np.array([0, 1, 4414, 46, 4, 5, 6, 7, 8, 9], dtype='u8'))
+ assert_equal(a, np.array([0, 1, 4414, 46, 4, 5, 6, 7, 8, 9]))
# Test boolean indexing and boolean ufuncs
a = np.arange(10)