Skip to content

Commit

Permalink
Merge pull request #30 from tirkarthi/fix-assert
Browse files Browse the repository at this point in the history
Refactor deprecated unittest aliases for Python 3.11 compatibility.
  • Loading branch information
luozhouyang authored Oct 11, 2021
2 parents 060a51c + fca3b16 commit 115acaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strsimpy/sift4_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def testSIFT4(self):
]

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__":
Expand Down

0 comments on commit 115acaa

Please sign in to comment.