It was deprecated in favor of the assertQuerySetEqual method in Django 4.2[1], and was removed in Django 5.1[2] . [1] https://docs.djangoproject.com/en/5.2/releases/4.2/#id1 [2] https://docs.djangoproject.com/en/5.2/releases/5.1/#features-removed-in-5-1 Change-Id: I7ebd17b05d28ac7d62b810d5782998baedf4d45e Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>