summary refs log tree commit diff stats
path: root/test/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/__init__.py')
-rw-r--r--test/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/__init__.py b/test/__init__.py
index e5f8a300..d87d1fc2 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -19,6 +19,14 @@ __all__ = [ x[0:x.index('.')] \
 		for x in os.listdir(os.path.dirname(__file__)) \
 		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], '..')))