From cf87ab9390c27fec91eb9deefac4eba9e925e155 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Mon, 15 Dec 2014 23:36:23 +0000 Subject: [PATCH] Now that AddressOf() does sane things with const results, this check is wrong. Since this is actually quite orthogonal to what this test is all about, actually get rid of the assertions llvm-svn: 224290 --- lldb/test/python_api/sbdata/TestSBData.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lldb/test/python_api/sbdata/TestSBData.py b/lldb/test/python_api/sbdata/TestSBData.py index ca2c7eca50e6..82a7d05a5f9c 100644 --- a/lldb/test/python_api/sbdata/TestSBData.py +++ b/lldb/test/python_api/sbdata/TestSBData.py @@ -205,10 +205,6 @@ class SBDataAPICase(TestBase): if self.TraceOn(): print new_object - self.assertTrue(new_object.GetLoadAddress() == 0xFFFFFFFFFFFFFFFF, 'GetLoadAddress() == invalid') - self.assertTrue(new_object.AddressOf().IsValid() == False, 'AddressOf() == invalid') - self.assertTrue(new_object.GetAddress().IsValid() == False, 'GetAddress() == invalid') - self.assertTrue(new_object.GetValue() == "1", 'new_object == 1') data.SetData(error, 'A\0\0\0', data.GetByteOrder(), data.GetAddressByteSize())