Ensure python2.6 support

This commit is contained in:
Siu Kwan Lam 2013-01-24 11:44:25 -06:00
commit 3b1ae9889d
7 changed files with 70 additions and 32 deletions

View file

@ -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)])