File tree 2 files changed +10
-0
lines changed
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
120
120
``--mpl `` option, the tests will run but will only check that the code
121
121
runs, without checking the output images.
122
122
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
+
123
128
124
129
Generating a Test Summary
125
130
^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -86,3 +86,8 @@ against, the tests can be run with::
86
86
and the tests will pass if the images are the same. If you omit the
87
87
``--mpl `` option, the tests will run but will only check that the code
88
88
runs, 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