866239c062e9ac724437f4b2607596ec6ecddd18,test/aqua/test_weighted_sum_operator.py,,,#,30

Before Change


from qiskit.aqua.circuits import WeightedSumOperator

// ignore deprecation warnings from the change of the circuit factory to circuit library
warnings.filterwarnings("ignore", category=DeprecationWarning)


@ddt
class TestWeightedSumOperator(QiskitAquaTestCase):

After Change


        self.assertEqual(value, result)


if __name__ == "__main__":
    unittest.main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 866239c062e9ac724437f4b2607596ec6ecddd18
Time: 2020-04-22
Author: jules.gacon@googlemail.com
File Name: test/aqua/test_weighted_sum_operator.py
Class Name:
Method Name:


Project Name: Qiskit/qiskit-aqua
Commit Name: 866239c062e9ac724437f4b2607596ec6ecddd18
Time: 2020-04-22
Author: jules.gacon@googlemail.com
File Name: test/aqua/test_fixed_value_comparator.py
Class Name:
Method Name:


Project Name: biocore/scikit-bio
Commit Name: c6e12799cd756e5eab292b3ff8173bd471f2eed3
Time: 2014-06-25
Author: gregcaporaso@gmail.com
File Name: skbio/core/alignment/tests/test_pairwise.py
Class Name:
Method Name: