[python] Mark get_test_binary as not being a test
authorAnders Waldenborg <anders@0x63.nu>
Wed, 21 Mar 2012 08:18:19 +0000 (08:18 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Wed, 21 Mar 2012 08:18:19 +0000 (08:18 +0000)
get_test_binary is a helper method, not a test, make sure nosetests
doesn't pick it up as a test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153173 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/llvm/tests/base.py

index 420423cd1804bdf73638dad18e8833e5f41fa836..edd7eda8708d2aaf4484647cd404e5d177d7360d 100644 (file)
@@ -27,3 +27,4 @@ class TestBase(unittest.TestCase):
                     return path
 
         raise Exception('No suitable test binaries available!')
+    get_test_binary.__test__ = False