]> granicus.if.org Git - python/commit
#14490, #14491: add 'sundry'-style import tests for Tools/scripts.
authorR David Murray <rdmurray@bitdance.com>
Thu, 5 Apr 2012 01:28:14 +0000 (21:28 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 5 Apr 2012 01:28:14 +0000 (21:28 -0400)
commit54ac832a24a0f40ea3278707420b191be3619c99
tree67046379cb835bbc0e4e2b0e387ec763222e8814
parentb6046301ef70ca30f106038cf3799278e770d3ca
#14490, #14491: add 'sundry'-style import tests for Tools/scripts.

This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running.  Also fixes the
syntax errors revealed by the tests.
Lib/test/test_tools.py
Tools/scripts/abitype.py
Tools/scripts/find_recursionlimit.py
Tools/scripts/findnocoding.py
Tools/scripts/fixcid.py
Tools/scripts/md5sum.py
Tools/scripts/parseentities.py