[issue13447] Add tests for some scripts in Tools/scripts

Éric Araujo report at bugs.python.org
Wed Feb 22 13:55:15 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

I went for something even simpler: one new file Lib/test/test_tools.py.  There is no need to have a file there and more files in Tools/tests, everything can go in test_tools (I’m not worried about file size, we already have a few thousand-liners test modules).  I think it’s the simplest thing that works.

My only concern is communication: how do we tell people working on a tool that they should write a test in test_tools?  I’m not sure they would read Tools/README; maybe a note at the top of the Python files would work; a note in the devguide; sending an email to python-dev to tell about the new file + reminders when we see a new tool bug opened.

----------
keywords: +patch
Added file: http://bugs.python.org/file24600/add-test_tools.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13447>
_______________________________________


More information about the Python-bugs-list mailing list