Skip to content

Commit

Permalink
TST: Add test for gufunc scalar case
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiebe committed Jan 17, 2013
1 parent 9a70cfd commit b5c7733
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numpy/core/tests/test_ufunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ def test_forced_sig(self):
def test_inner1d(self):
a = np.arange(6).reshape((2,3))
assert_array_equal(umt.inner1d(a,a), np.sum(a*a,axis=-1))
a = np.arange(6)
assert_array_equal(umt.inner1d(a,a), np.sum(a*a))

def test_broadcast(self):
msg = "broadcast"
Expand Down

0 comments on commit b5c7733

Please sign in to comment.