From c400e95daea75aad72b17be9a4a507c56f26140b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 5 Feb 2020 17:06:06 +0000 Subject: [PATCH] debug string for part-eq is an eq not + --- src/ieee754/part/test/test_partsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2