Skip to content

Commit 2e5566d

Browse files
authored
Fix reST markup in unittest documentation (pythonGH-8665)
1 parent d807862 commit 2e5566d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ run whether the test method succeeded or not.
412412
Such a working environment for the testing code is called a
413413
:dfn:`test fixture`. A new TestCase instance is created as a unique
414414
test fixture used to execute each individual test method. Thus
415-
`~TestCase.setUp`, `~TestCase.tearDown`, and `~TestCase.__init__`
415+
:meth:`~TestCase.setUp`, :meth:`~TestCase.tearDown`, and :meth:`~TestCase.__init__`
416416
will be called once per test.
417417

418418
It is recommended that you use TestCase implementations to group tests together

0 commit comments

Comments
 (0)