Message154547
test_cmd_line and test_cmd_line_script are both about testing the behaviour of the interpreter when run from the command line. Since this test *is* a behavioural test for the interpreter when invoked as an application, it should be in one of them.
The former is for testing the behaviour that doesn't involve invoking a script that does something, whereas the latter is for testing the way the interpreter handles various methods of script invocation, *including* what it prints to stderr and stdout in various scenarios.
Therefore, test_cmd_line_script *is* the right place for it. The fact that it happens to be testing the way an exception is displayed doesn't change the fact that it's a test of the way the interpreter handles a particular situation that may arise when running a script. |
|
Date |
User |
Action |
Args |
2012-02-28 11:30:21 | ncoghlan | set | recipients:
+ ncoghlan, ethan.furman |
2012-02-28 11:30:21 | ncoghlan | set | messageid: <1330428621.93.0.707130481762.issue14136@psf.upfronthosting.co.za> |
2012-02-28 11:30:21 | ncoghlan | link | issue14136 messages |
2012-02-28 11:30:20 | ncoghlan | create | |
|