summary refs log tree commit diff
path: root/tests/rest/client/test_profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/test_profile.py')
-rw-r--r--tests/rest/client/test_profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_profile.py b/tests/rest/client/test_profile.py
index b9647d5bd8..4239e1e610 100644
--- a/tests/rest/client/test_profile.py
+++ b/tests/rest/client/test_profile.py
@@ -80,7 +80,7 @@ class ProfileTestCase(unittest.HomeserverTestCase):
 
     def test_get_displayname_other(self):
         res = self._get_displayname(self.other)
-        self.assertEquals(res, "Bob")
+        self.assertEqual(res, "Bob")
 
     def test_set_displayname_other(self):
         channel = self.make_request(