Skip to content

Commit 97a55ef

Browse files
Use assertEqual instead of assertEquals for Python 3.11 compatibility. (#316)
* v1.3.4 (#313) * chore: refactor idp_hinting - closes #302 * v1.3.4 * Use assertEqual instead of assertEquals for Python 3.11 compatibility. Co-authored-by: Giuseppe De Marco <[email protected]>
1 parent 5987a1c commit 97a55ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testprofiles/tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def test_create_user_with_required_fields(self):
219219
# User creation does not fail if several fields are required.
220220
user, created = self.backend.get_or_create_user(self.backend._user_lookup_attribute, '[email protected]', True, None, None, None, None)
221221

222-
self.assertEquals(user.email, '[email protected]')
222+
self.assertEqual(user.email, '[email protected]')
223223
self.assertIs(user.email_verified, None)
224224

225225
user = self.backend._update_user(user, attributes, attribute_mapping, created)

0 commit comments

Comments
 (0)