diff options
Diffstat (limited to 'bindings/python/llvm')
-rw-r--r-- | bindings/python/llvm/tests/test_core.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/python/llvm/tests/test_core.py b/bindings/python/llvm/tests/test_core.py index 8123e15..545abc8 100644 --- a/bindings/python/llvm/tests/test_core.py +++ b/bindings/python/llvm/tests/test_core.py @@ -16,3 +16,8 @@ class TestCore(TestBase): source = self.get_test_binary() MemoryBuffer(filename=source) + + def test_memory_buffer_failing(self): + with self.assertRaises(Exception): + MemoryBuffer(filename="/hopefully/this/path/doesnt/exist") + |