Skip to content

Commit f1c7585

Browse files
authored
Update fixture scope in package/directory fixture example.
1 parent a3b3906 commit f1c7585

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)