forked from OSchip/llvm-project
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
This commit is contained in:
parent
18c927620a
commit
cf87ab9390
|
@ -205,10 +205,6 @@ class SBDataAPICase(TestBase):
|
||||||
if self.TraceOn():
|
if self.TraceOn():
|
||||||
print new_object
|
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')
|
self.assertTrue(new_object.GetValue() == "1", 'new_object == 1')
|
||||||
|
|
||||||
data.SetData(error, 'A\0\0\0', data.GetByteOrder(), data.GetAddressByteSize())
|
data.SetData(error, 'A\0\0\0', data.GetByteOrder(), data.GetAddressByteSize())
|
||||||
|
|
Loading…
Reference in New Issue