changeset 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 c1077b223648
children c8d0f5983571
files tests/test_util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)