From 1aceb325159bdd192e5c6135a3db1193d7a8bb75 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Fri, 21 Jul 2023 16:55:41 -0700 Subject: [PATCH] format code --- src/openpower/test/logical/logical_cases.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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) - -- 2.30.2