diff --git a/doc/en/fixture.rst b/doc/en/fixture.rst index db7ef0ca2..1f2a52a77 100644 --- a/doc/en/fixture.rst +++ b/doc/en/fixture.rst @@ -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()