[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/test test_linuxaudiodev.py,1.1,1.2

Thomas Wouters thomas@xs4all.net
Fri, 4 Aug 2000 15:08:58 +0200


On Fri, Aug 04, 2000 at 05:59:43AM -0700, Moshe Zadka wrote:

> Log Message:
> The only error the test suite skips is currently ImportError -- so that's
> what we raise. If you see a problem with this patch, say so and I'll
> retract.

test_support creates a class 'TestSkipped', which has a docstring that
suggests it can be used in the same way as ImportError. However, it doesn't
work ! Is that intentional ? The easiest fix to make it work is probably
making TestSkipped a subclass of ImportError, rather than Error (which it
is, now.)

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!