#15828: multiple inheritance in TestCases does not work with unittest2
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  ricardokirkner                     |         Status:  new
                   Type:  Bug        |      Component:  Testing framework
              Milestone:             |       Severity:  Normal
                Version:  1.3        |       Keywords:  unittest2
             Resolution:             |      Has patch:  0
           Triage Stage:  Accepted   |    Needs tests:  0
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by ramiro):

 * ui_ux:   => 0


Comment:

 From what I can see, this has been solved in the `unittest2` Hg repository
 (http://hg.python.org/unittest2/rev/3d33f92496fa). But a similar problem
 seems to be still present in `unittest` shipped with Python
 [http://hg.python.org/cpython/file/5a0726fcb18a/Lib/unittest/case.py#l229
 2.7],
 [http://hg.python.org/cpython/file/4957131ad9dd/Lib/unittest/case.py#l307
 3.2] and
 [http://hg.python.org/cpython/file/65c412586901/Lib/unittest/util.py
 trunk]

 So, from the Django POV, solving this in our copy of `unittest2` (be it
 either by porting that isolated change or waiting for the 0.6.0 release)
 would solve this issue for people using Python <  2.7 but a different,
 buggy behavior for people using 2.7.x.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15828#comment:3>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to