diff --git a/test/unit/test_data_serialization.py b/test/unit/test_data_serialization.py index 673155ffd..f4845e55e 100644 --- a/test/unit/test_data_serialization.py +++ b/test/unit/test_data_serialization.py @@ -24,12 +24,10 @@ from qiskit.circuit import Parameter, QuantumCircuit from qiskit.test.reference_circuits import ReferenceCircuits from qiskit.circuit.library import EfficientSU2, CXGate, PhaseGate, U2Gate - from qiskit.providers.fake_provider import FakeNairobi from qiskit.quantum_info import SparsePauliOp, Pauli, Statevector from qiskit.result import Result from qiskit_aer.noise import NoiseModel - from qiskit_ibm_runtime.utils import RuntimeEncoder, RuntimeDecoder from .mock.fake_runtime_client import CustomResultRuntimeJob from .mock.fake_runtime_service import FakeRuntimeService @@ -101,7 +99,7 @@ def test_coder_operators(self): warnings.filterwarnings( "ignore", category=DeprecationWarning, module=r"qiskit\.opflow\." ) - from qiskit.opflow import PauliSumOp # pylint: disable=import-outside-toplevel + from qiskit.opflow import PauliSumOp # pylint: disable=import-outside-toplevel # catch warnings triggered by opflow use with warnings.catch_warnings(record=True) as w_log: