llvm.org GIT mirror llvm / 61e22cd bindings / python / llvm / tests / test_core.py
61e22cd

Tree @61e22cd (Download .tar.gz)

test_core.py @61e22cdraw · history · blame

1
2
3
4
5
6
7
8
9
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)