Skip to content

Commit

Permalink
moving the warnings -> error
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPuzzuoli committed Mar 8, 2024
1 parent 95fa065 commit cbf4130
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,7 @@
# nbsphinx_execute = os.getenv('QISKIT_DOCS_BUILD_TUTORIALS', 'never')
nbsphinx_execute = 'always'
nbsphinx_widgets_path = ''
exclude_patterns = ['_build', '**.ipynb_checkpoints']
exclude_patterns = ['_build', '**.ipynb_checkpoints']

import warnings
warnings.filterwarnings("error")
3 changes: 0 additions & 3 deletions docs/userguide/perturbative_solvers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ on the perturbative solver speed.

.. jupyter-execute::

import warnings
warnings.filterwarnings("error")

import numpy as np

dim = 10 # Oscillator dimension
Expand Down

0 comments on commit cbf4130

Please sign in to comment.