homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients exarkun, giampaolo.rodola, michael.foord, pitrou, r.david.murray, techtonik
Date 2010年06月20日.19:54:30
SpamBayes Score 0.009443485
Marked as misclassified No
Message-id <1277063672.26.0.635512356697.issue9028@psf.upfronthosting.co.za>
In-reply-to
Content
"""But I want to execute test from my own patched copy of test_httpservers.py with whatever python I want. I.e.
> C:\Python27\python.exe Z:\python-cgi-tests\test_httpservers.py ...
"""
If you use Python 2.7 then the following at the end of the test module enables the same command line features that David Murray pointed you to:
if __name__ == '__main__':
 unittest.main()
If you are using earlier versions of Python you can use unittest2 (which also works with Python 2.7).
History
Date User Action Args
2010年06月20日 19:54:32michael.foordsetrecipients: + michael.foord, exarkun, pitrou, techtonik, giampaolo.rodola, r.david.murray
2010年06月20日 19:54:32michael.foordsetmessageid: <1277063672.26.0.635512356697.issue9028@psf.upfronthosting.co.za>
2010年06月20日 19:54:30michael.foordlinkissue9028 messages
2010年06月20日 19:54:30michael.foordcreate

AltStyle によって変換されたページ (->オリジナル) /