Skip to content

Commit

Permalink
update warning filters in tox
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed May 10, 2024
1 parent 4e01c2b commit 5717f20
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ commands_pre =
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
commands =
pytest roman_datamodels/tests \
-W "ignore:asdf.extensions plugin from package gwcs==0.18.3:asdf.exceptions.AsdfWarning"
pytest roman_datamodels/tests

[testenv:weldx]
change_dir = {env_tmp_dir}
Expand Down Expand Up @@ -320,5 +319,8 @@ commands_pre =
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
commands =
# the AsdfManifestURIMismatchWarning filter can be removed when a new sunpy
# is released which contains the fixed manifests:
# https://github.com/sunpy/sunpy/pull/7432
pytest dkist \
-W "ignore:asdf.extensions plugin from package gwcs==0.18.3:asdf.exceptions.AsdfWarning"
-W "ignore::asdf.exceptions.AsdfManifestURIMismatchWarning"

0 comments on commit 5717f20

Please sign in to comment.