From b8629516c71edcf2f23aaea56331f7aa16622719 Mon Sep 17 00:00:00 2001 From: DanPuzzuoli Date: Fri, 8 Mar 2024 09:22:54 -0800 Subject: [PATCH] moving --- docs/conf.py | 5 +---- docs/tutorials/dynamics_backend.rst | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f688887ea..a2284016a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -76,7 +76,4 @@ # nbsphinx_execute = os.getenv('QISKIT_DOCS_BUILD_TUTORIALS', 'never') nbsphinx_execute = 'always' nbsphinx_widgets_path = '' -exclude_patterns = ['_build', '**.ipynb_checkpoints'] - -import warnings -warnings.filterwarnings("error") \ No newline at end of file +exclude_patterns = ['_build', '**.ipynb_checkpoints'] \ No newline at end of file diff --git a/docs/tutorials/dynamics_backend.rst b/docs/tutorials/dynamics_backend.rst index 64c02b700..10b2ccf45 100644 --- a/docs/tutorials/dynamics_backend.rst +++ b/docs/tutorials/dynamics_backend.rst @@ -30,6 +30,8 @@ array libraries>` for more information. .. jupyter-execute:: + import warnings + warnings.filterwarnings("error") # Configure JAX import jax jax.config.update("jax_enable_x64", True)