Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34a3017

Browse files
pytest.yield_fixture() -> pytest.fixture
the first one is deprecated and yields a warning on recent pytest versions. to support older pytest versions, this change needs to be reverted.
1 parent c5e962e commit 34a3017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_fs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
pytestmark = fuse_test_marker()
2929

30-
@pytest.yield_fixture()
30+
@pytest.fixture
3131
def testfs(tmpdir):
3232

3333
# We can't use forkserver because we have to make sure

0 commit comments

Comments
 (0)