[pypy-svn] rev 2591 - pypy/trunk/src/pypy/tool
sschwarzer at codespeak.net
sschwarzer at codespeak.net
Fri Dec 19 17:49:13 CET 2003
Author: sschwarzer
Date: Fri Dec 19 17:49:12 2003
New Revision: 2591
Modified:
pypy/trunk/src/pypy/tool/newtest.py
Log:
Fixed some typos in the docstring.
Modified: pypy/trunk/src/pypy/tool/newtest.py
==============================================================================
--- pypy/trunk/src/pypy/tool/newtest.py (original)
+++ pypy/trunk/src/pypy/tool/newtest.py Fri Dec 19 17:49:12 2003
@@ -34,15 +34,16 @@
derive from the shown TestCase class, defined in this module. As in
Python's unittest, a test case class can contain setUp and tearDown
methods. Additionally, it contains a method 'skip' which can be
-called to stop a test prematurely. This won't be counted as a failure.
+called to stop a test prematurely. This won't be counted as a failure
+or error.
Test cases are loaded by a TestSuite class via the method init_from_dir.
-init_from_dir will read all test modules in and below a specified
+This method will read all test modules in and below a specified
directory, inspect them for classes derived from TestCase (i. e. _our_
TestCase), and in turn inspect them for test methods (like in
unittest, all methods which start with "test").
-For every found method, TestSuite will store it's module, class,
+For every found method, TestSuite will store its module, class and
unbound method objects in a TestItem object. There are also other
properties stored, e. g. the source code for each method and its
docstring.
More information about the Pypy-commit
mailing list