def test_random_complex(self):
        basic_det = linalg.det
        n = 20
        for i in range(4):
            a = random([n,n]) + 2j*random([n,n])
            d1 = det(a)
            d2 = basic_det(a)
            assert_allclose(d1, d2, rtol=1e-13)
dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py/TestDet.test_random_complex/original