From e7d61fb0314f4f47ec0e9299a3ac30c4018fc665 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 22 Aug 2019 03:12:39 +0100 Subject: [PATCH] silly rename get_test_cases to get_tst_cases, stops detection as a unit test --- src/ieee754/part_mul_add/test/test_multiply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ieee754/part_mul_add/test/test_multiply.py b/src/ieee754/part_mul_add/test/test_multiply.py index 3287cbe4..78f75011 100644 --- a/src/ieee754/part_mul_add/test/test_multiply.py +++ b/src/ieee754/part_mul_add/test/test_multiply.py @@ -378,7 +378,7 @@ class TestMul8_16_32_64(unittest.TestCase): return output, intermediate_output @staticmethod - def get_test_cases(lanes: List[SIMDMulLane], + def get_tst_cases(lanes: List[SIMDMulLane], keys: Iterable[int]) -> Iterable[Tuple[int, int]]: mask = (1 << 64) - 1 for i in range(8): @@ -503,7 +503,7 @@ class TestMul8_16_32_64(unittest.TestCase): yield module.part_pts[bit_index].eq(1) bit_index += 8 self.assertEqual(part_index, 8) - for a, b in self.get_test_cases(lanes, ()): + for a, b in self.get_tst_cases(lanes, ()): if gen_or_check == GenOrCheck.Check: with self.subTest(a=f"{a:X}", b=f"{b:X}"): yield from self.subtest_value(a, b, module, lanes, gen_or_check) -- 2.30.2