Skip to content

Commit

Permalink
Error on unexpected warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Nov 10, 2023
1 parent 294a3e9 commit b27f12a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,11 @@ addopts = "-n auto --dist=loadfile"

markers = "serial"

# we error on warnings except those
# triggered by third party packages
# which we ignore
filterwarnings = [
'error',
'ignore:Deprecated call to `pkg_resources\.declare_namespace:DeprecationWarning', # google, sphinxcontrib
'ignore:pkg_resources is deprecated as an API:DeprecationWarning', # pyvisa-sim
'ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version:DeprecationWarning', # tqdm dateutil
Expand Down

0 comments on commit b27f12a

Please sign in to comment.