diff options
Diffstat (limited to 'bindings/python/tests/test_object.py')
-rw-r--r-- | bindings/python/tests/test_object.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bindings/python/tests/test_object.py b/bindings/python/tests/test_object.py new file mode 100644 index 0000000000..afb0201967 --- /dev/null +++ b/bindings/python/tests/test_object.py @@ -0,0 +1,9 @@ +from llvm.common import find_library +from llvm.object import ObjectFile + +import unittest + +class TestObjectFile(unittest.TestCase): + def test_create_from_file(self): + source = find_library() + of = ObjectFile(filename=source) |