exec "$bup_python" "$0" ${1+"$@"}
"""
# end of bup preamble
+
#
# WvTest:
# Copyright (C)2007-2012 Versabanq Innovations Inc. and contributors.
# See the included file named LICENSE for license information.
# You can get wvtest from: http://github.com/apenwarr/wvtest
#
+
+from __future__ import absolute_import
import atexit
import inspect
import os
_result(msg, tb, 'FAILED')
return cond
+ def wvcheck(cond, msg, tb = None):
+ if tb == None: tb = _caller_stack(2)
+ if cond:
+ _result(msg, tb, 'ok')
+ else:
+ _result(msg, tb, 'FAILED')
+ return cond
+
_code_rx = re.compile(r'^\w+\((.*)\)(\s*#.*)?$')
def _code():
text = _caller_stack(2)[3]