Ensure python2.6 support
This commit is contained in:
parent
2bef762ba2
commit
3b1ae9889d
7 changed files with 70 additions and 32 deletions
|
|
@ -1,10 +1,10 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
|
||||
from llvm.test_llvmpy import TestCase
|
||||
from llvm.core import *
|
||||
|
||||
class TestMetaData(unittest.TestCase):
|
||||
class TestMetaData(TestCase):
|
||||
def test_metadata_get(self):
|
||||
module = Module.new('test_metadata')
|
||||
md = MetaData.get(module, [Constant.int(Type.int(), 1234)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue