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

>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.

----------
Added file: http://bugs.python.org/file24556/14026patch

_______________________________________
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