Skip to content

Commit

Permalink
assertGreater did not exist in python 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
medecau committed May 21, 2012
1 parent c73e3d3 commit 916983a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fuzzywuzzy/tests.py
Expand Up @@ -132,9 +132,9 @@ def testIssueSeven(self):
s3 = "LSINJHUANG DISTRIC" s3 = "LSINJHUANG DISTRIC"
s4 = "SINJHUANG DISTRICT" s4 = "SINJHUANG DISTRICT"


self.assertGreater(partial_ratio(s1, s2), 75) self.assertTrue(partial_ratio(s1, s2) > 75)
self.assertGreater(partial_ratio(s1, s3), 75) self.assertTrue(partial_ratio(s1, s3) > 75)
self.assertGreater(partial_ratio(s1, s4), 75) self.assertTrue(partial_ratio(s1, s4) > 75)


def testWRatioUnicodeString(self): def testWRatioUnicodeString(self):
s1 = u"\u00C1" s1 = u"\u00C1"
Expand Down

0 comments on commit 916983a

Please sign in to comment.