mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when compared to string values.
Per deprecation timeline.
This commit is contained in:
parent
75d6c4ae6d
commit
e2be307b3a
4 changed files with 5 additions and 55 deletions
|
@ -1700,13 +1700,6 @@ your test suite.
|
|||
|
||||
Output in case of error can be customized with the ``msg`` argument.
|
||||
|
||||
.. deprecated:: 3.2
|
||||
|
||||
If ``transform`` is not provided and ``values`` is a list of strings,
|
||||
it's compared to a list produced by applying ``repr()`` to each member
|
||||
of ``qs``. This behavior is deprecated and will be removed in Django
|
||||
4.1. If you need it, explicitly set ``transform`` to ``repr``.
|
||||
|
||||
.. method:: TransactionTestCase.assertNumQueries(num, func, *args, **kwargs)
|
||||
|
||||
Asserts that when ``func`` is called with ``*args`` and ``**kwargs`` that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue