[llvm] r190389 - [python-bindings] Changed test_memory_buffer_create_from_file to just use the generic provided test_file instead of a binary.

Michael Gottesman mgottesman at apple.com
Mon Sep 9 23:58:00 PDT 2013


Author: mgottesman
Date: Tue Sep 10 01:58:00 2013
New Revision: 190389

URL: http://llvm.org/viewvc/llvm-project?rev=190389&view=rev
Log:
[python-bindings] Changed test_memory_buffer_create_from_file to just use the generic provided test_file instead of a binary.

Modified:
    llvm/trunk/bindings/python/llvm/tests/test_core.py

Modified: llvm/trunk/bindings/python/llvm/tests/test_core.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/python/llvm/tests/test_core.py?rev=190389&r1=190388&r2=190389&view=diff
==============================================================================
--- llvm/trunk/bindings/python/llvm/tests/test_core.py (original)
+++ llvm/trunk/bindings/python/llvm/tests/test_core.py Tue Sep 10 01:58:00 2013
@@ -13,7 +13,7 @@ class TestCore(TestBase):
         self.assertEqual(op, OpCode.Ret)
 
     def test_memory_buffer_create_from_file(self):
-        source = self.get_test_binary()
+        source = self.get_test_file()
 
         MemoryBuffer(filename=source)
 





More information about the llvm-commits mailing list