Modify tests to use BpfObject instead

This commit is contained in:
Pragyansh Chaturvedi
2025-10-19 04:21:13 +05:30
parent cbe019c2bc
commit 771d8fef0a

View File

@ -3,5 +3,5 @@ import pylibbpf as m
def test_main():
assert m.__version__ == "0.0.5"
prog = m.BpfProgram("tests/execve2.o")
prog = m.BpfObject("tests/execve2.o")
print(prog)