summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tools.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-14546: Fix the argument handling in Tools/scripts/lll.py ↵Zackery Spytz2019-05-021-0/+27
| | | | | (GH-13026) (GH-13063) (cherry picked from commit c4e78b116f9a4299f3b3bfbbd18ef49782bb1143)
* test_tools: catch stderr (GH-7404)Victor Stinner2018-06-041-2/+5
| | | Hide "recursedown('@test_9296_tmp')" message.
* Issue #27952: Get fixcid.py working with the re moduleMartin Panter2016-09-111-0/+83
|
* Issue #15539: Fix backup file creation in pindent.py on WindowsSerhiy Storchaka2013-01-111-0/+1
|
* Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka2013-01-111-3/+331
| | | | | | | Now pindent.py works with a "with" statement. pindent.py no longer produces improper indentation. pindent.py now works with continued lines broken after "class" or "def" keywords and with continuations at the start of line. Added regression tests for pindent.py. Modernized pindent.py.
* backport from the trunk, to fix test_tools with srcdir != builddirdoko@ubuntu.com2012-09-101-2/+2
| | | | | | | | | | | | changeset: 77827:c23b442b5d5e user: Antoine Pitrou <solipsis@pitrou.net> date: Thu Jun 28 01:20:26 2012 +0200 summary: Avoid using scrdir, it's broken. changeset: 77826:f0e58e778215 user: Neil Schemenauer <nas@arctrix.com> date: Wed Jun 27 15:58:37 2012 -0600 summary: Fix bug in test_tools that prevented building is separate directory.
* Add test file for scripts in Tools (#13447).Éric Araujo2012-02-251-0/+39
When people find bugs in scripts such as reindent.py, msgfmt.py or pygettext.py, we have to try to reproduce the bug manually, apply a fix and test manually again. The alternative is to only read the code and trust that it works. This test file is a way to stop that unsatisfactory state of things and write proper unit tests instead.