[issue13447] Add tests for some scripts in Tools/scripts
report at bugs.python.org
Sat Feb 25 09:21:48 CET 2012
Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:
> 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
Sounds good to me.
> 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.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list