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

@ -3,12 +3,13 @@
# Import the llvm-py modules.
from llvm import *
from llvm.core import *
from llvm.test_llvmpy import TestCase
import logging
import unittest
class TestInlineAsm(unittest.TestCase):
class TestInlineAsm(TestCase):
def test_inline_asm(self):
mod = Module.new(__name__)
fnty = Type.function(Type.int(), [Type.int()])