Merge pull request #4764 from kevinjfoley/doc-assert-clarify
Clarify pytest_assertrepr_compare docs per #4759
This commit is contained in:
commit
5cf05ce149
|
@ -205,8 +205,8 @@ Special comparisons are done for a number of cases:
|
||||||
|
|
||||||
See the :ref:`reporting demo <tbreportdemo>` for many more examples.
|
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
|
It is possible to add your own detailed explanations by implementing
|
||||||
the ``pytest_assertrepr_compare`` hook.
|
the ``pytest_assertrepr_compare`` hook.
|
||||||
|
|
Loading…
Reference in New Issue