def test_neg_array(self, xp, dtype): a = testing.shaped_arange((2, 3), xp, dtype) return operator.neg(a)