rlib/test/test_clibffi.py::TestCLibffi::()::test_wrong_args
self = <rpython.rlib.test.test_clibffi.TestCLibffi object at 0x0000023bb9854f70>
def test_wrong_args(self):
> libc = self.get_libc()
rlib\test\test_clibffi.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib\test\test_clibffi.py:40: in get_libc
return self.CDLL(get_libc_name())
rlib\clibffi.py:702: in __init__
self.lib = dlopen(libname, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'C:\\WINDOWS\\System32\\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\xee\x96\x94\xe0\xa8\xbb\xe5\x95\x83\xe5\x81\x9f\xe5\xbd\x88\xe5\xbc\xb1\xe3\xa9\x83\xe6\xbd\xb2\xe6\xb5\xa1\xe6\xb1\xa9\xe4\xb9\x9c\xe4\xa5\x84\xe5\x81\x87\xe6\xbd\x83\xe7\x91\xb5\xe2\x81\xa7\xe6\xb1\xaf\xe5\xb1\xb4\xe4\x85\x84\xe3\x84\xb1'
rlib\rdynload.py:242: DLOpenError
builder: rpython-win-x86-64 build #399
test: rlib/test/test_clibffi/py/TestCLibffi/()/test_wrong_args