From: Luke Kenneth Casson Leighton Date: Wed, 5 Feb 2020 17:06:06 +0000 (+0000) Subject: debug string for part-eq is an eq not + X-Git-Tag: ls180-24jan2020~266 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c400e95daea75aad72b17be9a4a507c56f26140b;p=ieee754fpu.git debug string for part-eq is an eq not + --- diff --git a/src/ieee754/part/test/test_partsig.py b/src/ieee754/part/test/test_partsig.py index c312917f..29a26faa 100644 --- a/src/ieee754/part/test/test_partsig.py +++ b/src/ieee754/part/test/test_partsig.py @@ -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))