On 21 September 2011 07:13, schinckel <[email protected]> wrote:
> It isn't 'enforced' by Python at a language level, but as dmoisset stated,
> it makes the failure messages actually make sense:
> "Expected 'foo', got 'bar'".
> (paraphrasing failure message: don't have any failing tests to look at right
> now. YAY! :)
> Matt.
My Python 2.7 says:
self.assertEqual(result['active'], 2)
AssertionError: 1 != 2
So, no. The message in Python is order agnostic.
--
Łukasz Rekucki
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.