altered test_partsig2.py removed outval, run with outval2 instead
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 9 Oct 2021 19:52:14 +0000 (20:52 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 9 Oct 2021 19:52:14 +0000 (20:52 +0100)
src/ieee754/part/test/test_partsig.py

index 1830af1289a7a11514c0ae1f84f034d770115f2b..f5294a843c91d2077483bded672b57191245f895 100644 (file)
@@ -322,9 +322,8 @@ class TestMux(unittest.TestCase):
                         outval2 = (yield module.mux_out2)
                         msg = f"{msg_prefix}: mux " + \
                             f"0x{sel:X} ? 0x{a:X} : 0x{b:X}" + \
-                            f" => 0x{y:X} != 0x{outval:X}, masklist %s"
+                            f" => 0x{y:X} != 0x{outval2:X}, masklist %s"
                         # print ((msg % str(maskbit_list)).format(locals()))
-                        self.assertEqual(y, outval, msg % str(maskbit_list))
                         self.assertEqual(y, outval2, msg % str(maskbit_list))
 
             yield part_mask.eq(0)