diff options
author | Martin Panter <vadmium+py@gmail.com> | 2017-01-18 12:11:12 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-18 12:11:12 (GMT) |
commit | 4710935b119d24b2cc1ffce37d0f7f8c6a9fceab (patch) | |
tree | a8edff9dfb53296987f0e0795d15842bf1f803c9 /Doc/library/unittest.rst | |
parent | 043a8bc72a5b6f9b33134e55075504dc0c382c4f (diff) | |
parent | 37f183d43d9858c428997430042bdc16ce353850 (diff) | |
download | cpython-4710935b119d24b2cc1ffce37d0f7f8c6a9fceab.zip cpython-4710935b119d24b2cc1ffce37d0f7f8c6a9fceab.tar.gz cpython-4710935b119d24b2cc1ffce37d0f7f8c6a9fceab.tar.bz2 |
Issue 29274: Merge doc fixes from 3.5
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 258d3c2..92e567d 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1465,7 +1465,7 @@ Grouping tests .. class:: TestSuite(tests=()) - This class represents an aggregation of individual tests cases and test suites. + This class represents an aggregation of individual test cases and test suites. The class presents the interface needed by the test runner to allow it to be run as any other test case. Running a :class:`TestSuite` instance is the same as iterating over the suite, running each test individually. @@ -1573,7 +1573,7 @@ Loading and running tests .. method:: loadTestsFromTestCase(testCaseClass) - Return a suite of all tests cases contained in the :class:`TestCase`\ -derived + Return a suite of all test cases contained in the :class:`TestCase`\ -derived :class:`testCaseClass`. A test case instance is created for each method named by @@ -1585,7 +1585,7 @@ Loading and running tests .. method:: loadTestsFromModule(module, pattern=None) - Return a suite of all tests cases contained in the given module. This + Return a suite of all test cases contained in the given module. This method searches *module* for classes derived from :class:`TestCase` and creates an instance of the class for each test method defined for the class. @@ -1615,7 +1615,7 @@ Loading and running tests .. method:: loadTestsFromName(name, module=None) - Return a suite of all tests cases given a string specifier. + Return a suite of all test cases given a string specifier. The specifier *name* is a "dotted name" that may resolve either to a module, a test case class, a test method within a test case class, a |