Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Aug 1, 2023
1 parent 53747ef commit 66eb88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug_toolbar/panels/sql/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def wrap_cursor(connection):
# patching when the test case is finished. If we monkey patch those methods
# also, Django's process of undoing those monkey patches will fail. To
# avoid this failure, and because database access is not allowed during a
# SimpleTextCase anyway, skip applying our instrumentation monkey patches if
# SimpleTestCase anyway, skip applying our instrumentation monkey patches if
# we detect that Django has already monkey patched DatabaseWrapper.cursor().
if isinstance(connection.cursor, django.test.testcases._DatabaseFailure):
return
Expand Down

0 comments on commit 66eb88d

Please sign in to comment.