[issue33917] Fix and document idlelib/idle_test/template.py

Terry J. Reedy report at bugs.python.org
Wed Jun 20 14:44:47 EDT 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I wrote it intentionally the way it is, for #33855, as it made it maximally easily to use to complete the test suite.  Since it caused a problem, I added a valid dummy name to be replaced, and fixed the other syntax error.  The file now compiles, runs, and tests OK.  New IDLE modules needing a new test file should be rare.

I will submit the PR after I edit the readme to document the usage of the template.

----------
stage:  -> needs patch
title: idlelib/idle_test/template.py has invalid syntax -> Fix and document idlelib/idle_test/template.py
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33917>
_______________________________________


More information about the Python-bugs-list mailing list