Permalink
Browse files

assertGreater did not exist in python 2.4

  • Loading branch information...
1 parent c73e3d3 commit 916983a107455fccc49805eb63759c71a620d62b @medecau medecau committed May 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 fuzzywuzzy/tests.py
View
@@ -132,9 +132,9 @@ def testIssueSeven(self):
s3 = "LSINJHUANG DISTRIC"
s4 = "SINJHUANG DISTRICT"
- self.assertGreater(partial_ratio(s1, s2), 75)
- self.assertGreater(partial_ratio(s1, s3), 75)
- self.assertGreater(partial_ratio(s1, s4), 75)
+ self.assertTrue(partial_ratio(s1, s2) > 75)
+ self.assertTrue(partial_ratio(s1, s3) > 75)
+ self.assertTrue(partial_ratio(s1, s4) > 75)
def testWRatioUnicodeString(self):
s1 = u"\u00C1"

0 comments on commit 916983a

Please sign in to comment.