Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 055d2e0

Browse files
committed
Advertise “python -m” instead of direct filename.
1 parent 6046e22 commit 055d2e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/test.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,14 @@ whether the test passed or failed and thus minimize output.
168168

169169
Running :mod:`test.regrtest` directly allows what resources are available for
170170
tests to use to be set. You do this by using the ``-u`` command-line
171-
option. Run :program:`python regrtest.py -uall` to turn on all
171+
option. Run :program:`python -m regrtest -uall` to turn on all
172172
resources; specifying ``all`` as an option for ``-u`` enables all
173173
possible resources. If all but one resource is desired (a more common case), a
174174
comma-separated list of resources that are not desired may be listed after
175-
``all``. The command :program:`python regrtest.py -uall,-audio,-largefile`
175+
``all``. The command :program:`python -m regrtest -uall,-audio,-largefile`
176176
will run :mod:`test.regrtest` with all resources except the ``audio`` and
177177
``largefile`` resources. For a list of all resources and more command-line
178-
options, run :program:`python regrtest.py -h`.
178+
options, run :program:`python -m regrtest -h`.
179179

180180
Some other ways to execute the regression tests depend on what platform the
181181
tests are being executed on. On Unix, you can run :program:`make test` at the

0 commit comments

Comments
 (0)