llvm.org GIT mirror llvm / e3295cc
[python] Add negative MemoryBuffer testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153248 91177308-0d34-0410-b5e6-96231b3b80d8 Anders Waldenborg 7 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1515 source = self.get_test_binary()
1616
1717 MemoryBuffer(filename=source)
18
19 def test_memory_buffer_failing(self):
20 with self.assertRaises(Exception):
21 MemoryBuffer(filename="/hopefully/this/path/doesnt/exist")
22