Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Add django_debug_sql ini option
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Aug 30, 2019
1 parent 1f7ef23 commit 2e833f2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pytest_django/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ def _restore_sql_debug_logging(request, oldlevel):
logger.setLevel(oldlevel)


@pytest.fixture
def django_debug_sql(request):
oldlevel = _setup_sql_debug_logging()
yield
_restore_sql_debug_logging(request, oldlevel)


@pytest.fixture(scope="session")
def django_db_setup(
request,
Expand Down

0 comments on commit 2e833f2

Please sign in to comment.