[issue11390] doctest: add cmdline parameters
STINNER Victor
report at bugs.python.org
Tue Jun 25 12:50:32 CEST 2013
STINNER Victor added the comment:
> Perhaps the dummy trick needs to be done by doctest itself?
The issue really comes from the readline module. The workaround is to set an environment variable, which affects the whole process (all threads).
Only setting TERM for test_CLI() is fine, because it's the only test running doctest in a subprocess.
Hum, we may set TERM=dummy in script_helper directly, because this module tries to run Python in a fresh environment. It uses "python -E" for example.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11390>
_______________________________________
More information about the Python-bugs-list
mailing list