1 __all__
= ["main", "tree", "actions"]
4 if sys
.hexversion
< 0x2000000:
5 sys
.stderr
.write('[SKIPPED] at least Python 2.0 is required')
7 # note: exiting is a bit harsh for a library module, but we really do
8 # require Python 2.0. this package isn't going to work otherwise. and if
9 # a user truly wants to use this package under 1.x somehow (or to clean
10 # up in some way), then they can always trap the SystemExit exception
12 # we're skipping this test, not failing, so exit with 0
15 # don't export this name
18 # Define True and False if not provided by Python (<=2.1)
25 class Failure(Exception):
26 'Base class for exceptions that indicate test failure'
29 class Skip(Exception):
30 'Base class for exceptions that indicate test was skipped'
33 import main
, tree
, verify
, actions
, wc