

def test_simple_complex(self):
    a = (array([[1, 2, 3], [4, 5, 6], [7, 8, 10]], dtype=float) + (1j * array([[10, 8, 7], [6, 5, 4], [3, 2, 1]], dtype=float)))
    a_pinv = pinv(a)
    assert_array_almost_equal(dot(a, a_pinv), np.eye(3))
    a_pinv = pinv2(a)
    assert_array_almost_equal(dot(a, a), np.eye(3))

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestPinv.test_simple_complex/VarMisuse@121/141 `a_pinv`->`a`