Adds the TransactionTestCase.assertQuerySetEqual method, which is the non-deprecated version of TransactionTestCase.assertQuerysetEqual, which was deprecated in Django 4.2 and is set to be removed in Django 5.1.
I don't know of a way with type annotations to copy the signature of one method to another, so I just copy-pasted them, while also making some improvements with generic types.
Adds the
TransactionTestCase.assertQuerySetEqual
method, which is the non-deprecated version ofTransactionTestCase.assertQuerysetEqual
, which was deprecated in Django 4.2 and is set to be removed in Django 5.1.I don't know of a way with type annotations to copy the signature of one method to another, so I just copy-pasted them, while also making some improvements with generic types.