#33346: assertFormsetError() crashes on formset named "form".
-------------------------------------+-------------------------------------
     Reporter:  OutOfFocus4          |                    Owner:  Baptiste
                                     |  Mispelon
         Type:  Bug                  |                   Status:  assigned
    Component:  Testing framework    |                  Version:  4.0
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Baptiste Mispelon):

 * cc: Baptiste Mispelon (added)
 * has_patch:  0 => 1


Comment:

 PR here: https://github.com/django/django/pull/15165

 I went with the `isinstance` check wich seems a bit more robust since
 `forms` seems like quite a common attribute name and might catch other
 non-formset things.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33346#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.b39fa8d6b64810385116f303d322c9cc%40djangoproject.com.

Reply via email to