Skip to content

Commit

Permalink
Revert "fix(pytest): make fixture session scoped (#2117)"
Browse files Browse the repository at this point in the history
This reverts commit 50d5260.
  • Loading branch information
fcurella committed Nov 14, 2024
1 parent 7a7edac commit 54cee91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker/contrib/pytest/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _session_faker(request):
return Faker(locale=locale)


@pytest.fixture(scope="session")
@pytest.fixture()
def faker(request):
"""Fixture that returns a seeded and suitable ``Faker`` instance."""
if "faker_locale" in request.fixturenames:
Expand Down

0 comments on commit 54cee91

Please sign in to comment.