You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address warnings in unit testing. Some of these will become breaking changes in Qiskit 2.0
test/utils/test_layering.py::TestSlicingFunctions::test_slice_by_gate_types
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit/circuit/quantumcircuit.py:3278: DeprecationWarning: The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.duration`` is deprecated as of qiskit 1.3.0. It will be removed in Qiskit 2.0.0.
return dag_to_circuit(dag, copy_operations=False)
test/test_backpropagation.py::TestBackpropagation::test_backpropagate
test/test_backpropagation.py::TestBackpropagation::test_backpropagate
test/utils/test_layering.py::TestSlicingFunctions::test_slice_by_gate_types
test/utils/test_layering.py::TestSlicingFunctions::test_slice_by_gate_types
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit/circuit/quantumcircuit.py:3278: DeprecationWarning: The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.unit`` is deprecated as of qiskit 1.3.0. It will be removed in Qiskit 2.0.0.
return dag_to_circuit(dag, copy_operations=False)
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit_addon_utils/slicing/slice_by_depth.py:56: DeprecationWarning: The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.duration`` is deprecated as of qiskit 1.3.0. It will be removed in Qiskit 2.0.0.
slices.append(dag_to_circuit(s))
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
test/test_backpropagation.py::TestBackpropagation::test_backpropagate_timeout
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit_addon_utils/slicing/slice_by_depth.py:56: DeprecationWarning: The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.unit`` is deprecated as of qiskit 1.3.0. It will be removed in Qiskit 2.0.0.
slices.append(dag_to_circuit(s))
test/utils/test_layering.py::TestSlicingFunctions::test_slice_by_gate_types
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit/transpiler/passmanager.py:70: DeprecationWarning: The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.duration`` is deprecated as of qiskit 1.3.0. It will be removed in Qiskit 2.0.0.
out_program = dag_to_circuit(passmanager_ir, copy_operations=False)
test/utils/test_layering.py::TestSlicingFunctions::test_slice_by_gate_types
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit/transpiler/passmanager.py:70: DeprecationWarning: The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.unit`` is deprecated as of qiskit 1.3.0. It will be removed in Qiskit 2.0.0.
out_program = dag_to_circuit(passmanager_ir, copy_operations=False)
test/utils/test_simplify.py::TestSimplify::test_simplify_parameters
/Users/caleb/projects/repos_pub/qiskit-addon-obp/.tox/py310/lib/python3.10/site-packages/qiskit/quantum_info/operators/symplectic/sparse_pauli_op.py:213: RuntimeWarning: invalid value encountered in equal
else (self.coeffs == other.coeffs).all()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
The text was updated successfully, but these errors were encountered:
Address warnings in unit testing. Some of these will become breaking changes in Qiskit 2.0
The text was updated successfully, but these errors were encountered: