def get_full_path(path): return str(get_tested_path(Path('readelf', path)))
def chunk_from_pyc(version, size=16): """Helper to get start of an example pyc file as bytes""" path = get_tested_path('pyc/__future__.cpython-{}.pyc'.format(version)) with open(path, 'rb') as f: return f.read(size)
def get_full_path(path): return str(get_tested_path(Path('ldd', path)))