diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 90f5bec0fc8..0c22fd704ce 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -696,8 +696,9 @@ Test cases In addition, if *first* and *second* are the exact same type and one of list, tuple, dict, set, frozenset or unicode or any type that a subclass - registers :meth:`addTypeEqualityFunc` the type specific equality function - will be called in order to generate a more useful default error message. + registers with :meth:`addTypeEqualityFunc` the type specific equality + function will be called in order to generate a more useful default error + message. .. versionchanged:: 2.7 Added the automatic calling of type specific equality function.