Skip to content
This repository was archived by the owner on Jul 29, 2020. It is now read-only.

Commit 8741b63

Browse files
committed
style: remove unused request fixture from args
1 parent db54a13 commit 8741b63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytest_django/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def __delattr__(self, attr):
286286

287287

288288
@pytest.fixture()
289-
def settings(request, monkeypatch):
289+
def settings(monkeypatch):
290290
"""A Django settings object which restores changes after the testrun"""
291291
skip_if_no_django()
292292

pytest_django/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def teardown():
300300

301301

302302
@pytest.fixture(autouse=True, scope='function')
303-
def _django_clear_outbox(request):
303+
def _django_clear_outbox():
304304
"""Clear the django outbox, internal to pytest-django."""
305305
if django_settings_is_configured():
306306
from django.core import mail

0 commit comments

Comments
 (0)