#24903: Backport assertRaisesMessage fix
----------------------------------+----------------------------------------
Reporter: MoritzS | Owner: nobody
Type: Bug | Status: new
Component: Testing | Version: 1.8
framework |
Severity: Normal | Keywords: test assert raises message
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+----------------------------------------
In https://bugs.python.org/issue24134 python changed the behaviour of
`assertRaises` that breaks django's `assertRaisesMessage`.
Unfortunately this bug is not fixed in python's 2.7.10 release, so I think
the fixes on django's side should be backported at least to 1.8 because
right now it's not possible to use `assertRaisesMessage` as context
manager with 2.7.10.
Following commits contain the fixes on django's side:
c2bc1cefdcbbf074408f4a4cace88b315cf9d652
a0175724b086127a4e13612042961d3ba88d6bd9
e89c3a46035e9fe17c373a6c9cd63b9fd631d596
--
Ticket URL: <https://code.djangoproject.com/ticket/24903>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.16c75a188d8aa628539d99c2fefc46a4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.