From: Jacob Lifshay Date: Fri, 21 Jul 2023 23:55:41 +0000 (-0700) Subject: format code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1aceb325159bdd192e5c6135a3db1193d7a8bb75;p=openpower-isa.git format code --- diff --git a/src/openpower/test/logical/logical_cases.py b/src/openpower/test/logical/logical_cases.py index 892176e4..8e9c4e0e 100644 --- a/src/openpower/test/logical/logical_cases.py +++ b/src/openpower/test/logical/logical_cases.py @@ -6,7 +6,6 @@ import random class LogicalTestCase(TestAccumulatorBase): - def case_complement(self): insns = ["andc", "orc", "nand", "nor"] for i in range(40): @@ -38,7 +37,7 @@ class LogicalTestCase(TestAccumulatorBase): initial_regs[1] = random.randint(0, (1 << 64)-1) initial_regs[2] = random.randint(0, (1 << 64)-1) self.add_case(Program(lst, bigendian), initial_regs, - initial_sprs = {'XER': XER}) + initial_sprs={'XER': XER}) def case_rand_imm_so(self): insns = ["andi.", "andis."] @@ -122,7 +121,6 @@ class LogicalTestCase(TestAccumulatorBase): lst = ["bpermd 3, 1, 2"] for i in range(100): initial_regs = [0] * 32 - initial_regs[1] = random.randint(0, (1<<64)-1) - initial_regs[2] = random.randint(0, (1<<64)-1) + initial_regs[1] = random.randint(0, (1 << 64)-1) + initial_regs[2] = random.randint(0, (1 << 64)-1) self.add_case(Program(lst, bigendian), initial_regs) -