diff options
| author | Jacob Walls <38668450+jacobtylerwalls@users.noreply.github.com> | 2021-02-26 03:10:52 -0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-02-26 09:12:22 +0100 |
| commit | 200b71b593ad81fb962b29c1b31381263404ee38 (patch) | |
| tree | f852a52ab5305b412b9c13b9eb459cda22d4ae9f | |
| parent | bdad3eb7ec3fb284460784636c3ba9fea64cbb01 (diff) | |
[3.1.x] Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.
Backport of 0c7e880e13b837dd76276c04ebdc338bb76d1379 from master
| -rw-r--r-- | docs/releases/1.6.txt | 2 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index 60df27ad31..fd9d0a19cc 100644 --- a/docs/releases/1.6.txt +++ b/docs/releases/1.6.txt @@ -165,7 +165,7 @@ Minor features * The :meth:`~django.test.TransactionTestCase.assertQuerysetEqual` now checks for undefined order and raises :exc:`ValueError` if undefined order is spotted. The order is seen as undefined if the given ``QuerySet`` - isn't ordered and there are more than one ordered values to compare against. + isn't ordered and there is more than one ordered value to compare against. * Added :meth:`~django.db.models.query.QuerySet.earliest` for symmetry with :meth:`~django.db.models.query.QuerySet.latest`. diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 236a66fd76..9f2f2d4eaf 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1665,7 +1665,7 @@ your test suite. provide an implicit ordering, you can set the ``ordered`` parameter to ``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 + comparison is against more than one ordered value), a ``ValueError`` is raised. Output in case of error can be customized with the ``msg`` argument. |
