MCPcopy Create free account
hub / github.com/lief-project/LIEF / test_pathlib

Function test_pathlib

tests/api/test_python.py:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 assert "LIEF parser interface does not support this Python object: test_python.Empty" in captured.err
20
21def test_pathlib():
22 lspath = Path(get_sample('ELF/ELF64_x86-64_binary_ls.bin'))
23 ls = lief.parse(lspath)
24 assert isinstance(ls, lief.ELF.Binary)
25
26def test_io():
27 lspath = get_sample('ELF/ELF64_x86-64_binary_ls.bin')

Callers

nothing calls this directly

Calls 2

get_sampleFunction · 0.90
parseMethod · 0.45

Tested by

no test coverage detected