llvm-6502/bindings/python/llvm/tests/test_core.py

10 lines
220 B
Python
Raw Normal View History

from llvm.core import MemoryBuffer
from .base import TestBase
class TestCore(TestBase):
def test_memory_buffer_create_from_file(self):
source = self.get_test_binary()
MemoryBuffer(filename=source)