Clarify pytest_assertrepr_compare docs per #4759

This commit is contained in:
Kevin J. Foley 2019-02-10 08:34:35 -05:00
parent 19501028ca
commit aee67bb1a7
1 changed files with 2 additions and 2 deletions

View File

@ -205,8 +205,8 @@ Special comparisons are done for a number of cases:
See the :ref:`reporting demo <tbreportdemo>` for many more examples.
Defining your own assertion comparison
----------------------------------------------
Defining your own explanation for failed assertions
---------------------------------------------------
It is possible to add your own detailed explanations by implementing
the ``pytest_assertrepr_compare`` hook.