Merge pull request #2841 from pgiraud/patch-1

Fix auto-use fixture doc
This commit is contained in:
Bruno Oliveira 2017-10-16 21:18:18 -02:00 committed by GitHub
commit 3676da594c
1 changed files with 1 additions and 1 deletions

View File

@ -858,7 +858,7 @@ into a conftest.py file **without** using ``autouse``::
# content of conftest.py
@pytest.fixture
def transact(self, request, db):
def transact(request, db):
db.begin()
yield
db.rollback()