From ed30b2bc8fe0f83f72e3378d19468a75c0b810d0 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 2 Jul 2019 23:01:19 -0700 Subject: [PATCH] hopefully fix test errors when using nosetests3 --- src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py b/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py index c8264124..081bda97 100644 --- a/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py @@ -389,7 +389,7 @@ class TestFixed(unittest.TestCase): self.assertEqual(value.bit_width, 8) self.assertEqual(value.signed, True) - def helper_test_from_bits(self, bit_width, fract_width): + def helper_tst_from_bits(self, bit_width, fract_width): signed = False for bits in range(1 << bit_width): with self.subTest(bit_width=bit_width, @@ -416,7 +416,7 @@ class TestFixed(unittest.TestCase): def test_from_bits(self): for bit_width in range(1, 5): for fract_width in range(bit_width): - self.helper_test_from_bits(bit_width, fract_width) + self.helper_tst_from_bits(bit_width, fract_width) def test_repr(self): self.assertEqual(repr(Fixed.from_bits(1, 2, 3, False)), -- 2.30.2