diff options
author | Jay Bourque <jay.bourque@continuum.io> | 2013-04-03 15:03:39 -0500 |
---|---|---|
committer | Jay Bourque <jay.bourque@continuum.io> | 2013-08-16 16:39:31 -0500 |
commit | d467d492acec36622fcb6e060e1ba2c23b797775 (patch) | |
tree | 8a201bab5912c4c3a4cbf1e24b19c7080c2a6786 /numpy | |
parent | 2e652047b98390c602f8a74aac73644d5a3c95ed (diff) | |
download | numpy-d467d492acec36622fcb6e060e1ba2c23b797775.tar.gz |
Maybe this will fix the DeprecationWarning
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_ufunc.py | 4 |
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) |