[issue19102] Add tests for CLI of the tabnanny module

STINNER Victor report at bugs.python.org
Thu Jun 14 03:35:04 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

New changeset dfa9643d292dcaa14cbf3c44b8330ba2159976c0 by Victor Stinner (Jaysinh Shukla) in branch 'master':
bpo-19382: Adding test cases for module tabnanny (GH-851)
https://github.com/python/cpython/commit/dfa9643d292dcaa14cbf3c44b8330ba2159976c0

--

@Jaysinh Shukla: I looked at Berker's old patch, and I think that it would be interesting to modify tabnanny to return with a non-zero exit code in case of failure. Maybe replace "return" with "sys.exit(1)" after errprint() calls.

----------
nosy: +jaysinh.shukla, vstinner

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


More information about the Python-bugs-list mailing list