[Lldb-commits] [lldb] r219181 - Fix exception text to match function name
Ed Maste
emaste at freebsd.org
Mon Oct 6 18:57:52 PDT 2014
Author: emaste
Date: Mon Oct 6 20:57:52 2014
New Revision: 219181
URL: http://llvm.org/viewvc/llvm-project?rev=219181&view=rev
Log:
Fix exception text to match function name
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=219181&r1=219180&r2=219181&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Mon Oct 6 20:57:52 2014
@@ -557,7 +557,7 @@ def skipIfLinux(func):
def skipIfNoSBHeaders(func):
"""Decorate the item to mark tests that should be skipped when LLDB is built with no SB API headers."""
if isinstance(func, type) and issubclass(func, unittest2.TestCase):
- raise Exception("@skipIfLinux can only be used to decorate a test method")
+ raise Exception("@skipIfNoSBHeaders can only be used to decorate a test method")
@wraps(func)
def wrapper(*args, **kwargs):
from unittest2 import case
More information about the lldb-commits
mailing list