This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nadeem.vawda
Recipients eric.araujo, eric.snow, ezio.melotti, francismb, nadeem.vawda, tshepang
Date 2012-02-25.08:21:47
SpamBayes Score 1.1581213e-09
Marked as misclassified No
Message-id <1330158108.47.0.46419088971.issue13447@psf.upfronthosting.co.za>
In-reply-to
Content
[Éric]
> New docstring:
>
>   Tests for scripts in the Tools directory.
>
>   This file contains regression tests for some of the scripts found in the
>   Tools directory of a Python checkout or tarball, such as reindent.py.
>
> When I commit I’ll also send to python-dev a reply to the python-checkins email to advertise the new file.
>
> New skip message:
>
>   test irrelevant for an installed Python
>
> Better?

Sounds good to me.

[Francisco]
> 1)if test_tools is going to be the test for all the Tools (at least
> until it grows to much), shoudn't be be module doc something like “””Tests for scripts in Tools/**“””

I think Éric's suggestion in msg154197 is fine.

> 2)is the SkipTest “reindent” specific? 

No, it's common to all of the Tools scripts. When you install Python, the
Tools directory is not copied into the install destination. So if you're
using an installed copy of Python (either from running "make install", or
from a binary installer), the scripts won't exist. In this case, we
(obviously) can't test them.
History
Date User Action Args
2012-02-25 08:21:48nadeem.vawdasetrecipients: + nadeem.vawda, ezio.melotti, eric.araujo, tshepang, eric.snow, francismb
2012-02-25 08:21:48nadeem.vawdasetmessageid: <1330158108.47.0.46419088971.issue13447@psf.upfronthosting.co.za>
2012-02-25 08:21:47nadeem.vawdalinkissue13447 messages
2012-02-25 08:21:47nadeem.vawdacreate