Jason Yeo <jasonye...@gmail.com> added the comment:

I would like to work on this but I am not sure how to go about it. It seems 
that the method signature for _check_script has to be changed in include 
another parameter for expected_argv1, expected_argv2, etc. The _check_output 
also has to be changed to include assertIn(printed_argv1, data) for the 
additional parameters. This also means that test_source has to include some 
lines to print the sys.argv[1], sys.argv[2], etc. 

Am I on the right track? Or is there a easier way?

(By the way, when I set verbose to a value > 1, errors are found. I realized 
that a print() statement was printing an undefined variable. I have filed an 
issue and attached a patch to it. The link for the issue is 
http://bugs.python.org/issue14032)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14026>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to