From: klehman Date: Thu, 16 Sep 2021 19:23:23 +0000 (-0400) Subject: pep8 fix X-Git-Tag: DRAFT_SVP64_0_1~12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=080b9b8349a9887f8091fcbc626ba0b9b6951d6e;p=openpower-isa.git pep8 fix --- diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 1c91670d..2ded3ae3 100644 --- a/src/openpower/test/state.py +++ b/src/openpower/test/state.py @@ -112,8 +112,8 @@ class SimState(State): class ExpectedState(State): - def __init__(self, int_regs = None, pc = 0, crregs = None, - so = 0, ov = 0, ca=0): + def __init__(self, int_regs=None, pc=0, crregs=None, + so=0, ov=0, ca=0): if int_regs is None: int_regs = 32 if isinstance(int_regs, int): @@ -144,7 +144,7 @@ def state_add(name, kls): state_factory[name] = kls -def TestState(state_type, to_test, dut, code = 0): +def TestState(state_type, to_test, dut, code=0): state_class = state_factory[state_type] state = state_class(to_test) state.to_test = to_test