#37064: SimpleTestCase._remove_databases_failures() crashes on un-wrapped
connection methods
-------------------------------------+-------------------------------------
     Reporter:  Rio Weber            |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  Testing framework    |                  Version:  6.0
     Severity:  Normal               |               Resolution:
     Keywords:  testcase,            |             Triage Stage:
  databases, multi-db, regression    |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Rio Weber):

 hahaha 😂
 django-debug-toolbar's own maintainer Daniel Hardign added a check for
 this

 `isinstance(connection.cursor, django.test.testcases._DatabaseFailure):`
 return to their wrap_cursor
 [a6b65a7c, "Don't try to undo cache method monkey patching"]
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37064#comment:18>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019dc2d2f828-10946650-b6d5-4571-bf80-58401a4c4ca7-000000%40eu-central-1.amazonses.com.

Reply via email to