957961ab1b7494a3f45ee4ac1d09918d3c237c14,test/optimization/test_min_eigen_optimizer.py,TestMinEigenOptimizer,test_min_eigen_optimizer,#TestMinEigenOptimizer#Any#,54

Before Change


            if "CPLEX" in msg:
                self.skipTest(msg)
            else:
                self.fail(msg)


if __name__ == "__main__":
    unittest.main()

After Change



            // analyze results
            self.assertAlmostEqual(cplex_result.fval, result.fval)
        except MissingOptionalLibraryError as ex:
            self.skipTest(str(ex))
        except RuntimeError as ex:
            self.fail(str(ex))

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: test/optimization/test_min_eigen_optimizer.py
Class Name: TestMinEigenOptimizer
Method Name: test_min_eigen_optimizer


Project Name: Qiskit/qiskit-aqua
Commit Name: 957961ab1b7494a3f45ee4ac1d09918d3c237c14
Time: 2020-08-12
Author: Manoel.Marques@ibm.com
File Name: test/optimization/test_quadratic_program.py
Class Name: TestQuadraticProgram
Method Name: test_read_from_lp_file


Project Name: Qiskit/qiskit-aqua
Commit Name: 78bcfaa51aa59074492f011a4ff99e93a2b39c2f
Time: 2020-06-24
Author: manoel@us.ibm.com
File Name: test/finance/test_data_providers.py
Class Name: TestDataProviders
Method Name: test_exchangedata