diff --git a/scripts/nb-tester/qiskit_docs_notebook_tester/__init__.py b/scripts/nb-tester/qiskit_docs_notebook_tester/__init__.py index 76284e0e33e..ac5cc037ecd 100644 --- a/scripts/nb-tester/qiskit_docs_notebook_tester/__init__.py +++ b/scripts/nb-tester/qiskit_docs_notebook_tester/__init__.py @@ -40,6 +40,7 @@ # If not submitting jobs, we also run this code before notebook execution to mock the real backend MOCKING_CODE = """\ +import warnings from qiskit_ibm_runtime import QiskitRuntimeService from qiskit.providers.fake_provider import GenericBackendV2