diff options
Diffstat (limited to 'test/__init__.py')
-rw-r--r-- | test/__init__.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/__init__.py b/test/__init__.py index c2f9bde2..d87d1fc2 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -17,7 +17,15 @@ import os, sys __all__ = [ x[0:x.index('.')] \ for x in os.listdir(os.path.dirname(__file__)) \ - if x.startswith('tc_') ] + if x.startswith('tc_') or x.startswith('bm_')] + +def TODO(fnc): + def result(*arg, **kw): + try: + fnc(*arg, **kw) + except: + pass # failure expected + return result def init(): sys.path.append(os.path.abspath(os.path.join(sys.path[0], '..'))) |