@@ -0,0 +1,403 @@
+from numpy.testing import *%0A%0Aset_package_path()%0Aimport numpy as N%0Arestore_path()%0A%0Aclass TestUfunc(NumpyTestCase):%0A    def test_reduceat_shifting_sum(self):%0A        L = 6%0A        x = N.arange(L)%0A        idx = N.array(zip(N.arange(L-2),N.arange(L-2)+2)).ravel()%0A        assert_array_equal(N.add.reduceat(x,idx)%5B::2%5D,%0A                           %5B1,3,5,7%5D)%0A%0Aif __name__ == %22__main__%22:%0A    NumpyTest().run()%0A

Add test_ufunc.