Skip to content

Commit 67d4a07

Browse files
LamentXU123hugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 95f7109 commit 67d4a07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/unittest.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ Test cases
14371437
that lists the differences between the sets. This method is used by
14381438
default when comparing sets or frozensets with :meth:`assertEqual`.
14391439

1440-
Fails if either of *first* or *second* does not have a :meth:`frozenset.difference`
1440+
Fails if either of *first* or *second* does not have a :meth:`~frozenset.difference`
14411441
method.
14421442

14431443
.. versionadded:: 3.1
@@ -1655,7 +1655,7 @@ Test cases
16551655
:async:
16561656

16571657
Method called immediately after the test method has been called and the
1658-
result recorded. This is called before :meth:`TestCase.tearDown`. This is called even if
1658+
result recorded. This is called before :meth:`~TestCase.tearDown`. This is called even if
16591659
the test method raised an exception, so the implementation in subclasses may need
16601660
to be particularly careful about checking internal state. Any exception, other than
16611661
:exc:`AssertionError` or :exc:`SkipTest`, raised by this method will be
@@ -1684,7 +1684,7 @@ Test cases
16841684
Sets up a new event loop to run the test, collecting the result into
16851685
the :class:`TestResult` object passed as *result*. If *result* is
16861686
omitted or ``None``, a temporary result object is created (by calling
1687-
the :meth:`TestCase.defaultTestResult` method) and used. The result object is
1687+
the :meth:`~TestCase.defaultTestResult` method) and used. The result object is
16881688
returned to :meth:`run`'s caller. At the end of the test all the tasks
16891689
in the event loop are cancelled.
16901690

0 commit comments

Comments
 (0)