On Fri, 4 Aug 2000, Thomas Wouters wrote: > 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.) Thanks for the tip, Thomas! I didn't know about it -- but I just read the regrtest.py code, and it seemed to be the only exception it catches. Why not just add test_support.TestSkipped to the exception it catches when it catches the ImportError? -- Moshe Zadka <moshez@math.huji.ac.il> There is no IGLU cabal. http://advogato.org/person/moshez
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4