Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TransactionTestCase.assertQuerySetEqual (#189)
Adds the [`TransactionTestCase.assertQuerySetEqual` method][0], 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. [0]: https://docs.djangoproject.com/en/4.2/topics/testing/tools/#django.test.TransactionTestCase.assertQuerySetEqual
- Loading branch information