def test_numpy_pinverse_2(self):
        numpy.random.seed(42)

        def f(array):
            return numpy.linalg.pinv(array)

        arr = numpy.random.rand(20, 10) * 1000
        t1 = time.time()
        r1 = self.evaluateWithExecutor(f, arr)
        t2 = time.time()
        r2 = f(arr)
        t3 = time.time()
        print t2 - t3, t2 - t1
        self.assertArraysAreAlmostEqual(r1, r2)
dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/PurePython/NumpyTestCases.py/NumpyTestCases.test_numpy_pinverse_2/swapped operands of `-`