def testtarget(self):
        m = Module.new("test3.1")
        self.assertEqual(m.target, '')
        m.target = 'some_value'
        self.assertEqual(m.target, 'some_value')
        reqd = '; ModuleID = \'test3.1\'\ntarget triple = "some_value"\n'
        self.assertEqual(str(m), reqd)
Target property.
dataset/ETHPy150Open jrk/llvm-py/test/test.py/TestModule.testtarget