From dc4e2f8f164f336f43e9a9235aefb12c271a4006 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 2 May 2019 14:17:56 +0100 Subject: [PATCH] rename testbench to tbench, avoid nose3 issue --- src/nmutil/test/test_prioritymux_pipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nmutil/test/test_prioritymux_pipe.py b/src/nmutil/test/test_prioritymux_pipe.py index ca7181d0..dac0f141 100644 --- a/src/nmutil/test/test_prioritymux_pipe.py +++ b/src/nmutil/test/test_prioritymux_pipe.py @@ -21,7 +21,7 @@ class PassData: return [self.mid, self.idx, self.data] -def testbench(dut): +def tbench(dut): stb = yield dut.out_op.stb assert stb == 0 ack = yield dut.out_op.ack @@ -208,7 +208,7 @@ if __name__ == '__main__': vl = rtlil.convert(dut, ports=dut.ports()) with open("test_inputgroup_multi.il", "w") as f: f.write(vl) - #run_simulation(dut, testbench(dut), vcd_name="test_inputgroup.vcd") + #run_simulation(dut, tbench(dut), vcd_name="test_inputgroup.vcd") test = InputTest(dut) run_simulation(dut, [test.send(1), test.send(0), -- 2.30.2