From c2f5a595bafbbc7fa86b008075f09f411c9abaaf Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 30 Jun 2009 22:51:06 +0000 Subject: [PATCH] Fixed defaultTestCase -> defaultTestResult --- Doc/library/macostools.rst | 4 ++-- Doc/library/unittest.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/macostools.rst b/Doc/library/macostools.rst index 96d289749ae..e2ec01c23d9 100644 --- a/Doc/library/macostools.rst +++ b/Doc/library/macostools.rst @@ -59,8 +59,8 @@ documentation. Hence, aliases created with :func:`mkalias` could conceivably have incompatible behaviour in some cases. -:mod:`findertools` --- The :program:`finder`'s Apple Events interface -===================================================================== +:mod:`findertools` --- The :program:`finder`\'s Apple Events interface +====================================================================== .. module:: findertools :platform: Mac diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 2e4590c294a..25d792dcc5f 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -651,8 +651,8 @@ Test cases Run the test, collecting the result into the test result object passed as *result*. If *result* is omitted or :const:`None`, a temporary result - object is created (by calling the :meth:`defaultTestCase` method) and - used; this result object is not returned to :meth:`run`'s caller. + object is created (by calling the :meth:`defaultTestResult` method) and + used. The result object is not returned to :meth:`run`'s caller. The same effect may be had by simply calling the :class:`TestCase` instance.