Merge pull request #4764 from kevinjfoley/doc-assert-clarify

Clarify pytest_assertrepr_compare docs per #4759
This commit is contained in:
Bruno Oliveira 2019-02-10 17:26:50 -02:00 committed by GitHub
commit 5cf05ce149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.