Skip to content

Commit 1a17539

Browse files
authored
Merge pull request #10853 from stefmolin/patch-1
Update fixture scope in package/directory fixture example.
2 parents 32de8e2 + f1c7585 commit 1a17539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/example/simple.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ Here is an example for making a ``db`` fixture available in a directory:
691691
pass
692692
693693
694-
@pytest.fixture(scope="session")
694+
@pytest.fixture(scope="package")
695695
def db():
696696
return DB()
697697

0 commit comments

Comments
 (0)