1 __all__
= ["main", "tree", "actions"]
4 if sys
.hexversion
< 0x2000000:
5 sys
.stderr
.write('[SKIPPED] at least Python 2.0 is required')
7 # note: exitting 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 class Failure(Exception):
19 'Base class for exceptions that indicate test failure'
23 """This class should be used to represent that you require output
24 (whether stdout or stderr) from your test--regardless of what the
28 import main
, tree
, actions
, wc