1
0
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:
Keerthan Jaic 2021-03-13 03:07:25 +00:00 committed by GitHub
commit 35d684ced2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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