We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53747ef commit 66eb88dCopy full SHA for 66eb88d
debug_toolbar/panels/sql/tracking.py
@@ -40,7 +40,7 @@ def wrap_cursor(connection):
40
# patching when the test case is finished. If we monkey patch those methods
41
# also, Django's process of undoing those monkey patches will fail. To
42
# avoid this failure, and because database access is not allowed during a
43
- # SimpleTextCase anyway, skip applying our instrumentation monkey patches if
+ # SimpleTestCase anyway, skip applying our instrumentation monkey patches if
44
# we detect that Django has already monkey patched DatabaseWrapper.cursor().
45
if isinstance(connection.cursor, django.test.testcases._DatabaseFailure):
46
return
0 commit comments