[Python-checkins] r86142 - python/branches/py3k/Doc/library/unittest.rst
ezio.melotti
python-checkins at python.org
Wed Nov 3 21:45:31 CET 2010
Author: ezio.melotti
Date: Wed Nov 3 21:45:31 2010
New Revision: 86142
Log:
Minor cleanups to unittest doc.
Modified:
python/branches/py3k/Doc/library/unittest.rst
Modified: python/branches/py3k/Doc/library/unittest.rst
==============================================================================
--- python/branches/py3k/Doc/library/unittest.rst (original)
+++ python/branches/py3k/Doc/library/unittest.rst Wed Nov 3 21:45:31 2010
@@ -914,7 +914,7 @@
.. versionadded:: 3.1
- .. method:: assertIsInstance(obj, cls[, msg])
+ .. method:: assertIsInstance(obj, cls, msg=None)
This signals a test failure if *obj* is not an instance of *cls* (which
can be a class or a tuple of classes, as supported by :func:`isinstance`).
@@ -922,7 +922,7 @@
.. versionadded:: 3.2
- .. method:: assertNotIsInstance(obj, cls[, msg])
+ .. method:: assertNotIsInstance(obj, cls, msg=None)
The inverse of the :meth:`assertIsInstance` method. This signals a test
failure if *obj* is an instance of *cls*.
@@ -1258,7 +1258,7 @@
- .. method:: assertMultiLineEqual(self, first, second, msg=None)
+ .. method:: assertMultiLineEqual(first, second, msg=None)
Test that the multiline string *first* is equal to the string *second*.
When not equal a diff of the two strings highlighting the differences
@@ -1562,7 +1562,7 @@
:class:`TestLoader` objects have the following methods:
-a
+
.. method:: loadTestsFromTestCase(testCaseClass)
Return a suite of all tests cases contained in the :class:`TestCase`\ -derived
More information about the Python-checkins
mailing list