From: Jacob Lifshay Date: Wed, 3 Jul 2019 06:01:19 +0000 (-0700) Subject: hopefully fix test errors when using nosetests3 X-Git-Tag: ls180-24jan2020~939 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed30b2bc8fe0f83f72e3378d19468a75c0b810d0;p=ieee754fpu.git hopefully fix test errors when using nosetests3 --- 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)),