Fix for python 3

This commit is contained in:
Siu Kwan Lam 2013-02-27 13:48:08 -06:00
commit 93cd20e933
8 changed files with 41 additions and 28 deletions

View file

@ -20,7 +20,7 @@ class TestInlineAsm(TestCase):
inlineasm = InlineAsm.get(iaty, "bswap $0", "=r,r")
self.assertIn('asm "bswap $0", "=r,r"', str(inlineasm))
builder.ret(builder.call(inlineasm, [fn.args[0]]))
print fn
print(fn)
if __name__ == '__main__':
unittest.main()