compat: suppress deprecation warnings that are internal or during test.
This commit is contained in:
parent
7890c0adc8
commit
4bf80a6e33
3 changed files with 32 additions and 11 deletions
|
|
@ -1,10 +1,12 @@
|
|||
from ...tools import _ignore_deprecated
|
||||
from ...compat import *
|
||||
from ...compat.fhdl import verilog
|
||||
|
||||
|
||||
class SimCase:
|
||||
def setUp(self, *args, **kwargs):
|
||||
self.tb = self.TestBench(*args, **kwargs)
|
||||
with _ignore_deprecated():
|
||||
self.tb = self.TestBench(*args, **kwargs)
|
||||
|
||||
def test_to_verilog(self):
|
||||
verilog.convert(self.tb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue