diff --git a/strsimpy/sift4_test.py b/strsimpy/sift4_test.py
index <HASH>..<HASH> 100644
--- a/strsimpy/sift4_test.py
+++ b/strsimpy/sift4_test.py
@@ -14,7 +14,7 @@ class SIFT4Test(unittest.TestCase):
         ]
 
         for a, b, offset, res in results:
-            self.assertEquals(res, s.distance(a, b, maxoffset=offset))
+            self.assertEqual(res, s.distance(a, b, maxoffset=offset))
 
 
 if __name__ == "__main__":
Refactor deprecated unittest aliases for Python <I> compatibility.