Skip to content

Commit a4fd5cd

Browse files
authored
Fix auto-use fixture doc
1 parent ae4e596 commit a4fd5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/fixture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ into a conftest.py file **without** using ``autouse``::
858858

859859
# content of conftest.py
860860
@pytest.fixture
861-
def transact(self, request, db):
861+
def transact(request, db):
862862
db.begin()
863863
yield
864864
db.rollback()

0 commit comments

Comments
 (0)