diff --git a/faker/contrib/pytest/plugin.py b/faker/contrib/pytest/plugin.py index dab476b8a1..571e3a77a2 100644 --- a/faker/contrib/pytest/plugin.py +++ b/faker/contrib/pytest/plugin.py @@ -20,7 +20,7 @@ def _session_faker(request): return Faker(locale=locale) -@pytest.fixture() +@pytest.fixture(scope="session") def faker(request): """Fixture that returns a seeded and suitable ``Faker`` instance.""" if "faker_locale" in request.fixturenames: