From 337fd06340652a01bb9f5ca193a9109cce2a6c50 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 5 Nov 2014 15:27:39 -0700 Subject: [PATCH] test.py2llvm: drop the test_ prefix from test_base_types() to hide it from nose --- test/py2llvm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py2llvm.py b/test/py2llvm.py index 3fde62659..882a6d8b9 100644 --- a/test/py2llvm.py +++ b/test/py2llvm.py @@ -11,7 +11,7 @@ from artiq.py2llvm import base_types, arrays from artiq.py2llvm.module import Module -def test_base_types(choice): +def _base_types(choice): a = 2 # promoted later to int64 b = a + 1 # initially int32, becomes int64 after a is promoted c = b//2 # initially int32, becomes int64 after b is promoted @@ -39,7 +39,7 @@ def _build_function_types(f): class FunctionBaseTypesCase(unittest.TestCase): def setUp(self): - self.ns = _build_function_types(test_base_types) + self.ns = _build_function_types(_base_types) def test_simple_types(self): self.assertIsInstance(self.ns["foo"], base_types.VBool)