Message153647
| Author |
Jason.Yeo |
| Recipients |
Jason.Yeo, eric.araujo, ncoghlan |
| Date |
2012年02月18日.16:05:36 |
| SpamBayes Score |
1.3745091e-07 |
| Marked as misclassified |
No |
| Message-id |
<1329581137.92.0.300631457012.issue14026@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
>Just define a list of example args as a module global, append them to
>the run_args in _check_script, and check them against sys.argv[1:] with
>assertEqual() in the test script.
Okay I have done that but the assertion passes in all the tests except in test_issue8202 and test_issue8202_dash_m_file_ignored. It seems that the script didn't receive any arguments from the cmd line from the way it is executed in these functions.
I have attached a patch to let you see what I am doing. Let me know if I am wrong. Thanks. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年02月18日 16:05:38 | Jason.Yeo | set | recipients:
+ Jason.Yeo, ncoghlan, eric.araujo |
| 2012年02月18日 16:05:37 | Jason.Yeo | set | messageid: <1329581137.92.0.300631457012.issue14026@psf.upfronthosting.co.za> |
| 2012年02月18日 16:05:37 | Jason.Yeo | link | issue14026 messages |
| 2012年02月18日 16:05:37 | Jason.Yeo | create |
|