mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
Merge pull request #355 from hellow554/patch-3
replace yield_fixture decorator by fixture
This commit is contained in:
commit
35d684ced2
@ -114,7 +114,7 @@ def topTristate():
|
|||||||
return inst
|
return inst
|
||||||
|
|
||||||
|
|
||||||
@pytest.yield_fixture
|
@pytest.fixture
|
||||||
def vcd_dir(tmpdir):
|
def vcd_dir(tmpdir):
|
||||||
with tmpdir.as_cwd():
|
with tmpdir.as_cwd():
|
||||||
yield tmpdir
|
yield tmpdir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user