1 | | In https://bugs.python.org/issue24134 python changed the behaviour of `assertRaises` that breaks django's `assertRaisesMessage`. |
2 | | 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. |
| 1 | In https://bugs.python.org/issue24134 cpython changed the behaviour of `assertRaises` that breaks django's `assertRaisesMessage`. |
| 2 | Unfortunately this bug is not fixed in cpython'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. |