23e13f3213f6ffc0146ede1b6e448632eafa7919,test/test_mc_mt_gate.py,,,#,32

Before Change



import logging

logger = logging.getLogger(__name__)
handler = logging.StreamHandler()
formatter = logging.Formatter(
    "%(asctime)s %(name)-12s %(levelname)-8s %(message)s")
handler.setFormatter(formatter)
if (logger.hasHandlers()):
    logger.handlers.clear()
logger.addHandler(handler)
logger.setLevel(logging.DEBUG)


class TestMCGate(QiskitAquaTestCase):
    @parameterized.expand([(3, QuantumCircuit.cz), (4, QuantumCircuit.cz),

After Change


                self.assertAlmostEqual(f, 1)


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

Frequency: 3

Non-data size: 7

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 23e13f3213f6ffc0146ede1b6e448632eafa7919
Time: 2019-02-02
Author: simone.perriello@protonmail.com
File Name: test/test_mc_mt_gate.py
Class Name:
Method Name:


Project Name: bnpy/bnpy
Commit Name: 79062d91ff5d67250fd800adee98e205c1fc287b
Time: 2020-08-20
Author: mike@michaelchughes.com
File Name: bnpy/Run.py
Class Name:
Method Name:


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 4f5fad71c841a392237bf0c31c0175378e907c3b
Time: 2018-07-26
Author: molloyim@us.ibm.com
File Name: art/attacks/carlini_unittest.py
Class Name:
Method Name: