From cdafc00242a8b79a03ff6f8de2309da671c8decd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 16 Sep 2021 19:48:32 +0100 Subject: [PATCH] reduce code linecount slightly --- src/openpower/test/state.py | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 57f77fcf..1c91670d 100644 --- a/src/openpower/test/state.py +++ b/src/openpower/test/state.py @@ -129,21 +129,10 @@ class ExpectedState(State): self.ov = ov self.ca = ca - def get_intregs(self): - if False: - yield - - def get_crregs(self): - if False: - yield - - def get_xregs(self): - if False: - yield - - def get_pc(self): - if False: - yield + def get_intregs(self): if False: yield + def get_crregs(self): if False: yield + def get_xregs(self): if False: yield + def get_pc(self): if False: yield global state_factory -- 2.30.2