[issue14136] Simplify PEP 409 command line test and move it to test_cmd_line_script

Nick Coghlan report at bugs.python.org
Tue Feb 28 11:44:03 CET 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

It's about separating out the testing of the command line executable (i.e. test_cmd_line and test_cmd_line_script) from that of the interpreter's internal behaviour.

test_raise is about making sure the "raise" statement works correctly - the new test isn't testing that, it's testing the display code in the command line interface.

A non-CPython interpreter must conform exactly to test_raise, but conforming to test_cmd_line(_script) is less essential.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14136>
_______________________________________


More information about the Python-bugs-list mailing list