Skip to content

Commit bce2415

Browse files
committed
fixup! fixup! fixup! fixup! fixup! Add django_debug_sql ini option
1 parent 7600ea4 commit bce2415

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pytest_django/fixtures.py

-7
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,6 @@ def _restore_sql_debug_logging(request, oldlevel):
102102
logger.setLevel(oldlevel)
103103

104104

105-
@pytest.fixture
106-
def django_debug_sql(request):
107-
oldlevel = _setup_sql_debug_logging()
108-
yield
109-
_restore_sql_debug_logging(request, oldlevel)
110-
111-
112105
@pytest.fixture(scope="session")
113106
def django_db_setup(
114107
request,

0 commit comments

Comments
 (0)