aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/python/llvm/tests
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/llvm/tests')
-rw-r--r--bindings/python/llvm/tests/test_core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/python/llvm/tests/test_core.py b/bindings/python/llvm/tests/test_core.py
index 3fdaf45..3364a66 100644
--- a/bindings/python/llvm/tests/test_core.py
+++ b/bindings/python/llvm/tests/test_core.py
@@ -2,6 +2,7 @@ from .base import TestBase
from ..core import OpCode
from ..core import MemoryBuffer
from ..core import PassRegistry
+from ..core import Context
class TestCore(TestBase):
def test_opcode(self):
@@ -29,3 +30,6 @@ class TestCore(TestBase):
def test_create_passregistry(self):
PassRegistry()
+
+ def test_create_context(self):
+ Context.GetGlobalContext()