Fix test
This commit is contained in:
parent
d270f47328
commit
c1b46e4384
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ def test_basic_jit_use():
|
|||
bc_buffer.close()
|
||||
|
||||
# read bitcode
|
||||
errbuf = StringIO()
|
||||
errbuf = BytesIO()
|
||||
m2 = llvm.ParseBitCodeFile(bc, context, errbuf)
|
||||
if not m2:
|
||||
raise Exception(errbuf.getvalue())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue