From: Raymond Hettinger Date: Sun, 6 Feb 2011 21:00:38 +0000 (+0000) Subject: Fix awkwardly rendered sentence. X-Git-Tag: v3.2rc3~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=833ad0eede663344732e89291619923183c1912c;p=python Fix awkwardly rendered sentence. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index b2dc7f5960..047d458d29 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -352,9 +352,9 @@ Organizing test code The basic building blocks of unit testing are :dfn:`test cases` --- single scenarios that must be set up and checked for correctness. In :mod:`unittest`, -test cases are represented by instances of :mod:`unittest`'s :class:`TestCase` -class. To make your own test cases you must write subclasses of -:class:`TestCase`, or use :class:`FunctionTestCase`. +test cases are represented by :class:`unittest.TestCase` instances. +To make your own test cases you must write subclasses of +:class:`TestCase` or use :class:`FunctionTestCase`. An instance of a :class:`TestCase`\ -derived class is an object that can completely run a single test method, together with optional set-up and tidy-up