[Lldb-commits] [lldb] r135544 - /lldb/trunk/test/python_api/event/TestEvents.py
Johnny Chen
johnny.chen at apple.com
Tue Jul 19 17:14:20 PDT 2011
Author: johnny
Date: Tue Jul 19 19:14:20 2011
New Revision: 135544
URL: http://llvm.org/viewvc/llvm-project?rev=135544&view=rev
Log:
A more succinct assertTrue.
Modified:
lldb/trunk/test/python_api/event/TestEvents.py
Modified: lldb/trunk/test/python_api/event/TestEvents.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/event/TestEvents.py?rev=135544&r1=135543&r2=135544&view=diff
==============================================================================
--- lldb/trunk/test/python_api/event/TestEvents.py (original)
+++ lldb/trunk/test/python_api/event/TestEvents.py Tue Jul 19 19:14:20 2011
@@ -150,8 +150,7 @@
# Now launch the process, and do not stop at entry point.
error = lldb.SBError()
process = target.Launch (listener, None, None, None, None, None, None, 0, False, error)
- self.assertTrue(error.Success())
- self.assertTrue(process, PROCESS_IS_VALID)
+ self.assertTrue(error.Success() and process, PROCESS_IS_VALID)
# Get a handle on the process's broadcaster.
broadcaster = process.GetBroadcaster()
More information about the lldb-commits
mailing list