File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,11 @@ and the tests will pass if the images are the same. If you omit the
120120``--mpl `` option, the tests will run but will only check that the code
121121runs, without checking the output images.
122122
123+ If pytest-mpl is not installed, the image comparison tests will cause pytest
124+ to show a warning, ``PytestReturnNotNoneWarning ``. Installing pytest-mpl will
125+ solve this issue. Alternativly, the image comparison tests can be deselected
126+ by running pytest with ``-m "not mpl_image_compare" ``.
127+
123128
124129Generating a Test Summary
125130^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -86,3 +86,8 @@ against, the tests can be run with::
8686and the tests will pass if the images are the same. If you omit the
8787``--mpl `` option, the tests will run but will only check that the code
8888runs, without checking the output images.
89+
90+ If pytest-mpl is not installed, the image comparison tests will cause pytest
91+ to show a warning, ``PytestReturnNotNoneWarning ``. Installing pytest-mpl will
92+ solve this issue. Alternativly, the image comparison tests can be deselected
93+ by running pytest with ``-m "not mpl_image_compare" ``.
You can’t perform that action at this time.
0 commit comments