Skip to content

Commit

Permalink
pytest: don't cast warnings to errors (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored and isaaccorley committed Mar 2, 2024
1 parent ba22377 commit 2834c3e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,6 @@ match_dir = "(datamodules|datasets|losses|models|samplers|torchgeo|trainers|tran
addopts = "-m 'not slow'"
# https://docs.pytest.org/en/latest/how-to/capture-warnings.html
filterwarnings = [
# Treat all warnings as errors
"error",

# Warnings raised by dependencies of dependencies, out of our control
# https://github.com/Cadene/pretrained-models.pytorch/issues/221
"ignore:.* is deprecated and will be removed in Pillow 10:DeprecationWarning:pretrainedmodels.datasets.utils",
Expand Down

0 comments on commit 2834c3e

Please sign in to comment.