From 4b3384973d4f84aa546a80e412d00231ba618fa1 Mon Sep 17 00:00:00 2001 From: Jay Bourque Date: Wed, 3 Apr 2013 14:44:08 -0500 Subject: Fix DeprecationWarning on python 3.3 --- numpy/core/tests/test_ufunc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit v1.2.1