diff tests/test_util.py @ 1080:661f4065bfbf

test_util: fix missing message in SkipTest raise
author Augie Fackler <raf@durin42.com>
date Fri, 09 Aug 2013 19:41:25 -0500
parents 1afd308b8f46
children c8d0f5983571
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -165,7 +165,7 @@ def requiresreplay(method):
     def test(self, *args, **kwargs):
         if self.stupid:
             if SkipTest:
-                raise SkipTest(message)
+                raise SkipTest("test requires replay mode")
         else:
             return method(self, *args, **kwargs)