From 75f772d26cdf8a49791962c293e0bb60daa69fc9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 12 Apr 2019 02:24:29 +0100 Subject: [PATCH] use SimpleHandshake in RecordObject test --- src/add/test_buf_pipe.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/add/test_buf_pipe.py b/src/add/test_buf_pipe.py index e37311c7..b8e6440f 100644 --- a/src/add/test_buf_pipe.py +++ b/src/add/test_buf_pipe.py @@ -810,7 +810,6 @@ class ExampleAddRecordObjectStage(StageCls): def ispec(self): """ returns an instance of an Example2OpRecord. """ - #return Example2OpClass() return Example2OpRecord() def ospec(self): @@ -825,11 +824,11 @@ class ExampleAddRecordObjectStage(StageCls): return i.op1 + i.op2 -class ExampleRecordHandshakeAddClass(BufferedHandshake): +class ExampleRecordHandshakeAddClass(SimpleHandshake): def __init__(self): addstage = ExampleAddRecordObjectStage() - BufferedHandshake.__init__(self, stage=addstage) + SimpleHandshake.__init__(self, stage=addstage) ###################################################################### -- 2.30.2