[Python-Dev] test module availability on different Python implementations

Giampaolo Rodola' gnewsg at gmail.com
Mon Jan 14 20:10:55 CET 2008


On 14 Gen, 19:46, "Guido van Rossum" <gu... at python.org> wrote:
> The test *package* is much older than Python 2.4, but many Python
> distros exclude it from their default configuration. Perhaps there is
> a way to add it back; on many Linux-based systems running apt-get or
> yum with the appropriate arguments is all it takes. Sorry, I can't
> help you with the appropriate parameters, since every distro does it
> differently.
>
> --Guido

Good to know, thanks for the information.
I didn't know that python-tests were treated as a separate package on
certain platforms.
As replacement I'll use unittest.main() for running tests and a static
string defined by me instead of test.test_support.TESTFN.


More information about the Python-Dev mailing list