Fix auto-use fixture doc

This commit is contained in:
Pierre GIRAUD 2017-10-16 10:23:35 +02:00 committed by GitHub
parent ae4e596b31
commit a4fd5cdcb5
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()