jit/backend/llgraph/test/test_llgraph.py::TestLLTypeLLGraph::()::test_call_to_c_function
self = <rpython.jit.backend.llgraph.test.test_llgraph.TestLLTypeLLGraph object at 0x0000023bb1bcc7c8>
def test_call_to_c_function(self):
from rpython.rlib.libffi import CDLL, types, ArgChain, FUNCFLAG_CDECL
from rpython.rtyper.lltypesystem.ll2ctypes import libc_name
> libc = CDLL(libc_name)
jit\backend\test\runner_test.py:2701:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib\libffi.py:446: in __init__
self.lib = dlopen(libname, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'ucrtbase.dll', mode = -1
def dlopen(name, mode=-1):
# mode is unused on windows, but a consistant signature
if not name:
raise DLOpenError("cannot use None")
with rffi.scoped_utf82wcharp(name, codepoints_in_utf8(name)) as buf:
res = rwin32.LoadLibraryW(buf)
if not res:
err = rwin32.GetLastError_saved()
ustr, lgt = rwin32.FormatErrorW(err)
> raise DLOpenError(ustr)
E DLOpenError: 'Teseiidmdl ol o efud\xf2\xa0\x80\x8d\x00\xd7\x8d\xe0\xb4\xbb\xe5\x8d\x96\xe4\x8c\xb0\xe5\x91\x8e\xe5\x8d\x8c\xe5\xb0\xba\xe6\x9d\xaf\xe2\x81\xad\xe6\x95\xac\xe7\xa0\xa8\xe5\xb0\xa9\xe7\x89\xa3\xe6\x99\xaf\xe6\xa5\x96\xe6\xb1\xa1\xe7\x95\xb4\xe2\x81\xaf\xe3\x80\xae\xe6\xb5\xaf'
rlib\rdynload.py:242: DLOpenError
builder: rpython-win-x86-64 build #399
test: jit/backend/llgraph/test/test_llgraph/py/TestLLTypeLLGraph/()/test_call_to_c_function