On Fri, Aug 04, 2000 at 04:11:38PM +0300, Moshe Zadka wrote: > > 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? Right. Done. Now to update all those tests that raise ImportError when they *mean* 'TestSkipped' :) -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
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