summaryrefslogtreecommitdiff
path: root/bindings/python/llvm/tests/test_object.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/llvm/tests/test_object.py')
-rw-r--r--bindings/python/llvm/tests/test_object.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python/llvm/tests/test_object.py b/bindings/python/llvm/tests/test_object.py
index 5662d2240e..3f92d8155b 100644
--- a/bindings/python/llvm/tests/test_object.py
+++ b/bindings/python/llvm/tests/test_object.py
@@ -23,6 +23,7 @@ class TestObjectFile(TestBase):
assert isinstance(section.size, long)
assert isinstance(section.contents, str)
assert isinstance(section.address, long)
+ assert len(section.contents) == section.size
self.assertGreater(count, 0)