Skip to content

Commit

Permalink
Register mpl_image_compare marker to remove PytestUnknownMarkWarning (#…
Browse files Browse the repository at this point in the history
…323)

Supresses the annoying warning that @pytest.mark.mpl_image_compare emits because it isn't registered properly. See relevant pytest documentation at https://docs.pytest.org/en/latest/mark.html#raising-errors-on-unknown-marks
  • Loading branch information
weiji14 authored and seisman committed Aug 28, 2019
1 parent a184a1b commit 34f5291
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ tag_prefix = ''
[flake8]
ignore = E203, E266, E501, W503, F401, E741
max-line-length = 88

[tool:pytest]
markers =
mpl_image_compare: compare generated plots with correct baseline version

0 comments on commit 34f5291

Please sign in to comment.