Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann authored Jun 29, 2022
1 parent c56f411 commit 5d71031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_JaroWinkler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _jaro_winkler_similarity(self, s1, s2, result):
self.assertAlmostEqual(jarowinkler_similarity(s2, s1), result, places=4)

def test_hash_special_case(self):
self._jaro_winkler_similarity([0, -1], [0, -2], 0.6666)
self._jaro_winkler_similarity([0, -1], [0, -2], 0.66666)

def test_edge_case_lengths(self):
self._jaro_winkler_similarity('', '', 0)
Expand All @@ -39,4 +39,4 @@ def test_edge_case_lengths(self):


if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit 5d71031

Please sign in to comment.