[Lldb-commits] [lldb] r185891 - Update exception to match decorator name
Malea, Daniel
daniel.malea at intel.com
Mon Jul 8 17:29:36 PDT 2013
Thanks Ed!
On 2013-07-08 8:24 PM, "Ed Maste" <emaste at freebsd.org> wrote:
>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
>
>
>_______________________________________________
>lldb-commits mailing list
>lldb-commits at cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
More information about the lldb-commits
mailing list