﻿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
34731	Django test suite still has an occurence of assertEquals, removed in Python 3.12	Michel Lind	Michel Lind	"Python 3.12, shipping in the upcoming Fedora 39, finally removed the deprecated `assertEquals` in favor of `assertEqual`. The Django test suite mostly use the latter already, but there is one occurence of the former left. It should be converted.

Test failure on Python 3.12:


{{{
======================================================================                                                              
ERROR: test_condition_with_func_and_lookup_outside_relation_name (filtered_relation.tests.FilteredRelationTests.test_condition_with_
func_and_lookup_outside_relation_name)                                                                                              
----------------------------------------------------------------------                                                              
Traceback (most recent call last):                                                                                                  
  File ""/home/michel/src/github/django/django/tests/filtered_relation/tests.py"", line 652, in test_condition_with_func_and_lookup_ou
tside_relation_name 
    self.assertEquals(qs.count(), 1)                                                                                                
    ^^^^^^^^^^^^^^^^^                                                                                                               
AttributeError: 'FilteredRelationTests' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

}}}
"	Bug	assigned	Testing framework	dev	Normal				Unreviewed	1	0	0	0	0	0
