[Python-Dev] running the tests...

Nick Coghlan ncoghlan at gmail.com
Thu Mar 5 22:02:02 CET 2009


Chris Withers wrote:
> Nick Coghlan wrote:
>> My personal preferences:
>>
>> Thorough: ./python -m test.regrtest -uall
>> Typical: ./python -m test.regrtest
>> Specific: ./python -m test.regrtest test_mod1 test_mod2
> 
> This looks good, I assume this would work on Windows too?

Yep - and of course, you can even leave out the ./ in that case.

(Oh, if for some reason you're working on a Python 2.4 or earlier build,
the above won't work, since -m only started supporting running modules
inside packages in 2.5)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list