0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Merge pull request #3312 from tchaumeny/doc_assert_queryset

Updated assertQuerysetEqual documentation following 311b3ad9db
This commit is contained in:
Simon Charette 2014-10-05 17:34:20 -04:00
commit 1e224b39c7

View File

@ -1497,7 +1497,7 @@ your test suite.
By default, the comparison is also ordering dependent. If ``qs`` doesn't
provide an implicit ordering, you can set the ``ordered`` parameter to
``False``, which turns the comparison into a Python set comparison.
``False``, which turns the comparison into a ``collections.Counter`` comparison.
If the order is undefined (if the given ``qs`` isn't ordered and the
comparison is against more than one ordered values), a ``ValueError`` is
raised.