[Lldb-commits] [lldb] r185891 - Update exception to match decorator name
Ed Maste
emaste at freebsd.org
Mon Jul 8 17:24:52 PDT 2013
Author: emaste
Date: Mon Jul 8 19:24:52 2013
New Revision: 185891
URL: http://llvm.org/viewvc/llvm-project?rev=185891&view=rev
Log:
Update exception to match decorator 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=185891&r1=185890&r2=185891&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Mon Jul 8 19:24:52 2013
@@ -621,7 +621,7 @@ def skipIfLinux(func):
def skipIfDarwin(func):
"""Decorate the item to skip tests that should be skipped on Darwin."""
if isinstance(func, type) and issubclass(func, unittest2.TestCase):
- raise Exception("@skipIfLinux can only be used to decorate a test method")
+ raise Exception("@skipIfDarwin 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