From 4eef3b9399f81bbbbcd3a6dc3eda951b6ec937d5 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 29 Nov 2013 23:32:13 -0700 Subject: [PATCH] migen/test/support: allow easy re-setUp of the testbench with different parameters --- migen/test/support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migen/test/support.py b/migen/test/support.py index 016373d7..913462ac 100644 --- a/migen/test/support.py +++ b/migen/test/support.py @@ -12,8 +12,8 @@ class SimBench(Module): class SimCase(unittest.TestCase): TestBench = SimBench - def setUp(self): - self.tb = self.TestBench() + def setUp(self, *args, **kwargs): + self.tb = self.TestBench(*args, **kwargs) def test_to_verilog(self): verilog.convert(self.tb) -- 2.30.2