Skip to content

Commit aee67bb

Browse files
committed
Clarify pytest_assertrepr_compare docs per #4759
1 parent 1950102 commit aee67bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/assert.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ Special comparisons are done for a number of cases:
205205

206206
See the :ref:`reporting demo <tbreportdemo>` for many more examples.
207207

208-
Defining your own assertion comparison
209-
----------------------------------------------
208+
Defining your own explanation for failed assertions
209+
---------------------------------------------------
210210

211211
It is possible to add your own detailed explanations by implementing
212212
the ``pytest_assertrepr_compare`` hook.

0 commit comments

Comments
 (0)