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,8 +1,9 @@
from llvm.core import *
from llvm.tbaa import *
from llvm.test_llvmpy import TestCase
import unittest
class TestTBAABuilder(unittest.TestCase):
class TestTBAABuilder(TestCase):
def test_tbaa_builder(self):
mod = Module.new('test_tbaa_builder')
fty = Type.function(Type.void(), [Type.pointer(Type.float())])