[Python-Dev] test_mpz skipped? (original) (raw)

Martin v. Loewis martin@v.loewis.de
10 Apr 2002 08:22:02 +0200


Jeremy Hylton <jeremy@zope.com> writes:

> test testmpz skipped -- No module named mpz > 1 test skipped: > testmpz > 1 skip unexpected on linux2: > testmpz

Is this just a question of adding testmpz to the list of expected skips on Linux? Or is there some problem with my build?

No, and no. The notion of "per-platform expected skipped tests" is inherently broken for targets where you usually build from source (i.e. Unix): It depends much on the set of libraries that you have available.

It would be much better if somebody rewrote this aspect to analyse the expected failures more precisely. E.g. if module mpz was not built, test_mpz should be skipped; if it was built but fails to import, that would be unexpected.

Regards, Martin