Update fixture scope in package/directory fixture example.

This commit is contained in:
Stefanie Molin 2023-03-31 10:00:45 -07:00 committed by GitHub
parent a3b39069bc
commit f1c7585184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ Here is an example for making a ``db`` fixture available in a directory:
pass
@pytest.fixture(scope="session")
@pytest.fixture(scope="package")
def db():
return DB()