diff --git a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py index 164c4f4faecb397a9197d0dcb7007739f3e81681..aef11eebe4a99e82569463ff8524d781e5edd6a8 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):