From a4fd5cdcb53e49f8c482386612cd7b2efc1e3c44 Mon Sep 17 00:00:00 2001 From: Pierre GIRAUD Date: Mon, 16 Oct 2017 10:23:35 +0200 Subject: [PATCH] Fix auto-use fixture doc --- doc/en/fixture.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()