'Check that passing arrays of with different shapes raises a ValueError.'

def test_shape_mismatch(self):

    A = identity(2)
    B = np.arange(9.0).reshape(3, 3)
    assert_raises(ValueError, eig, A, B)
    assert_raises(ValueError, eig, B, A)
