debug string for part-eq is an eq not +
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 5 Feb 2020 17:06:06 +0000 (17:06 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 5 Feb 2020 17:06:06 +0000 (17:06 +0000)
src/ieee754/part/test/test_partsig.py

index c312917f411ff7a8b1de41f5790bca3ca937e698..29a26faabcbe38085eabf161beb75d215c8851d0 100644 (file)
@@ -105,7 +105,7 @@ class TestPartitionPoints(unittest.TestCase):
                             y |= maskbit_list[i]
                     # check the result
                     outval = (yield module.eq_output)
-                    msg = f"{msg_prefix}: 0x{a:X} + 0x{b:X}" + \
+                    msg = f"{msg_prefix}: 0x{a:X} == 0x{b:X}" + \
                         f" => 0x{y:X} != 0x{outval:X}, masklist %s"
                     #print ((msg % str(maskbit_list)).format(locals()))
                     self.assertEqual(y, outval, msg % str(maskbit_list))