diff options
author | Raymond Hettinger <python@rcn.com> | 2011-02-06 21:00:38 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-02-06 21:00:38 (GMT) |
commit | 833ad0eede663344732e89291619923183c1912c (patch) | |
tree | 85e66a414e8686b778399573976208765ece5d6a /Doc/library | |
parent | fb2d167e26614ed7bbc3469a7ae5591da8061532 (diff) | |
download | cpython-833ad0eede663344732e89291619923183c1912c.zip cpython-833ad0eede663344732e89291619923183c1912c.tar.gz cpython-833ad0eede663344732e89291619923183c1912c.tar.bz2 |
Fix awkwardly rendered sentence.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/unittest.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index b2dc7f5..047d458 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 |