summaryrefslogtreecommitdiff
path: root/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-06-22 02:39:46 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-06-22 02:39:46 +0000
commite98f7f2cfa1690b4e85e0ed3883bafbc9f415202 (patch)
tree4177fc1567ff1a6febdf1cfa80e1dad35450c9b5 /lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
parent6b0feb7ed61dd2578b3a7f3d699b72e22dde66e3 (diff)
Recent change to SBSymbolContextList (r133498) makes the default constructor return
a valid SB API object. Modify the test case to accommodate. llvm-svn: 133602
Diffstat (limited to 'lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py')
-rw-r--r--lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
index 164c4f4faecb..aef11eebe4a9 100644
--- a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
+++ b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
@@ -2,8 +2,8 @@
Test lldb Python API object's default constructor and make sure it is invalid
after initial construction.
-There are two exceptions to the above general rules, though; the API objects are
-SBCommadnReturnObject and SBStream.
+There are three exceptions to the above general rules, though; the API objects are
+SBCommadnReturnObject, SBStream, and SBSymbolContextList.
"""
import os, time
@@ -198,7 +198,7 @@ class APIDefaultConstructorTestCase(TestBase):
obj = lldb.SBSymbolContextList()
if self.TraceOn():
print obj
- self.assertFalse(obj)
+ self.assertTrue(obj)
@python_api_test
def test_SBTarget(self):