Skip to content

Commit 176d6c4

Browse files
committed
Merged revisions 77796 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77796 | ezio.melotti | 2010-01-27 22:25:11 +0200 (Wed, 27 Jan 2010) | 1 line #7765: typos ........
1 parent 1f0b658 commit 176d6c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/unittest.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ qualified class or method names.
107107

108108
You can run tests with more detail (higher verbosity) by passing in the -v flag::
109109

110-
python-m unittest -v test_module
110+
python -m unittest -v test_module
111111

112112
For a list of all the command line options::
113113

@@ -149,8 +149,8 @@ The ``discover`` sub-command has the following options:
149149
The -s, -p, & -t options can be passsed in as positional arguments. The
150150
following two command lines are equivalent::
151151

152-
python -m unittest -s project_directory -p '*_test.py'
153-
python -m unittest project_directory '*_test.py'
152+
python -m unittest discover -s project_directory -p '*_test.py'
153+
python -m unittest discover project_directory '*_test.py'
154154

155155
Test modules and packages can customize test loading and discovery by through
156156
the `load_tests protocol`_.
@@ -1436,7 +1436,7 @@ Loading and running tests
14361436

14371437
.. method:: stopTestRun(test)
14381438

1439-
Called once before any tests are executed.
1439+
Called once after all tests are executed.
14401440

14411441
.. versionadded:: 2.7
14421442

0 commit comments

Comments
 (0)