##// END OF EJS Templates
ignore_case->case_sensitive (boolean opposite)
Jonathan Frederic -
Show More
@@ -66,7 +66,7 b' class TestsBase(object):'
66
66
67 def fuzzy_compare(self, a, b, newlines_are_spaces=True, tabs_are_spaces=True,
67 def fuzzy_compare(self, a, b, newlines_are_spaces=True, tabs_are_spaces=True,
68 fuzzy_spacing=True, ignore_spaces=False,
68 fuzzy_spacing=True, ignore_spaces=False,
69 ignore_newlines=False, ignore_case=True):
69 ignore_newlines=False, case_sensitive=False):
70 """
70 """
71 Performs a fuzzy comparison of two strings. A fuzzy comparison is a
71 Performs a fuzzy comparison of two strings. A fuzzy comparison is a
72 comparison that ignores insignificant differences in the two comparands.
72 comparison that ignores insignificant differences in the two comparands.
@@ -94,7 +94,7 b' class TestsBase(object):'
94 a = a.replace('\n', '')
94 a = a.replace('\n', '')
95 b = b.replace('\n', '')
95 b = b.replace('\n', '')
96
96
97 if ignore_case:
97 if not case_sensitive:
98 a = a.lower()
98 a = a.lower()
99 b = b.lower()
99 b = b.lower()
100
100
General Comments 0
You need to be logged in to leave comments. Login now