Speed up the regression tests.
[svnrdump.git] / svntest / __init__.py
blobe111cc9d6ba852af425417e2eaaf1f96d0160192
1 __all__ = ["main", "tree", "actions"]
3 import sys
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
13 sys.exit(0)
15 # don't export this name
16 del sys
18 class Failure(Exception):
19 'Base class for exceptions that indicate test failure'
20 pass
22 class SVNAnyOutput:
23 """This class should be used to represent that you require output
24 (whether stdout or stderr) from your test--regardless of what the
25 output might be."""
26 pass
28 import main, tree, actions, wc