From c1b46e4384958a37493dc9130710f2eecac7624d Mon Sep 17 00:00:00 2001 From: Siu Kwan Lam Date: Mon, 25 Feb 2013 10:02:49 -0600 Subject: [PATCH] Fix test --- llvmpy/test_binding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvmpy/test_binding.py b/llvmpy/test_binding.py index c7ceb49..aee0167 100644 --- a/llvmpy/test_binding.py +++ b/llvmpy/test_binding.py @@ -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())