whoops overwrote input variable
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 30 Jan 2020 16:04:53 +0000 (16:04 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 30 Jan 2020 16:04:53 +0000 (16:04 +0000)
src/ieee754/part/test/test_partsig.py

index aaf0dcbe1faa0f5f4d64a105e4055a06f71a87e2..2327f4625e73a7687b2e64e84ae43dbeafbee32d 100644 (file)
@@ -92,10 +92,10 @@ class TestPartitionPoints(unittest.TestCase):
                     yield Delay(0.1e-6)
                     # convert to mask_list
                     mask_list = []
-                    for b in maskbit_list:
+                    for mb in maskbit_list:
                         v = 0
                         for i in range(4):
-                            if b & (1<<i):
+                            if mb & (1<<i):
                                 v |= 0xf << (i*4)
                         mask_list.append(v)
                     y = 0