[Python-checkins] devguide: Mention test.autotest for the benefit of users without a command line
eric.araujo
python-checkins at python.org
Fri Aug 12 18:51:06 CEST 2011
http://hg.python.org/devguide/rev/c18fd0ee23ed
changeset: 440:c18fd0ee23ed
user: Éric Araujo <merwok at netwok.org>
date: Fri Aug 12 18:50:39 2011 +0200
summary:
Mention test.autotest for the benefit of users without a command line
files:
runtests.rst | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/runtests.rst b/runtests.rst
--- a/runtests.rst
+++ b/runtests.rst
@@ -17,6 +17,11 @@
./python -m test
+If you don't have easy access to a command line, you can run the test suite from
+a Python or IDLE shell::
+
+ >>> from test import autotest
+
This will run the majority of tests, but exclude a small portion of them; these
excluded tests use special kinds of resources: for example, accessing the
Internet, or trying to play a sound or to display a graphical interface on
--
Repository URL: http://hg.python.org/devguide
More information about the Python-checkins
mailing list