Skip to content

Commit

Permalink
Merge pull request #2841 from pgiraud/patch-1
Browse files Browse the repository at this point in the history
Fix auto-use fixture doc
  • Loading branch information
nicoddemus authored Oct 16, 2017
2 parents ae4e596 + a4fd5cd commit 3676da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/en/fixture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3676da5

Please sign in to comment.