test_object.py 241 B

123456789
  1. from llvm.common import find_library
  2. from llvm.object import ObjectFile
  3. import unittest
  4. class TestObjectFile(unittest.TestCase):
  5. def test_create_from_file(self):
  6. source = find_library()
  7. of = ObjectFile(filename=source)