﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32469	Add support for maxDiff to TransactionTestCase.assertQuerysetEqual().	Nick Pope	Nick Pope	"`TransactionTestCase.assertQuerysetEqual()` does not respect `maxDiff` when `ordered=False`.

So it turns out that although `assertQuerySet()` with `ordered=False` compares two instances of `collection.Counter()` - a subclass of `dict` - calling `assertEqual()` will not defer to `assertDictEqual()` and so `maxDiff` isn't supported. We should use `assertDictEqual()` explicitly.

See the following links for details:

- https://docs.python.org/3/library/unittest.html#unittest.TestCase.maxDiff
- https://github.com/python/cpython/blob/d5fc99873769f0d0d5c5d5d99059177a75a4e46e/Lib/unittest/case.py#L809-L818"	Cleanup/optimization	closed	Testing framework	dev	Normal	fixed	maxDiff, assertQuerysetEqual		Ready for checkin	1	0	0	0	0	0
