Remove `skip-string-normalization` in Python formatter config
[babeltrace.git] / tests / utils / python / split_sort_compare.py
index 3b4f83d58d5246070f33cc0820c5430dad158126..c57e84e9b718db77f551aac9154c1f06772514ed 100644 (file)
@@ -9,8 +9,8 @@ import re
 def main():
     expected = sys.argv[1]
     actual = sys.argv[2]
-    sorted_expected = ''.join(sorted(re.findall(r'\w+|\W+', expected.strip())))
-    sorted_actual = ''.join(sorted(re.findall(r'\w+|\W+', actual.strip())))
+    sorted_expected = "".join(sorted(re.findall(r"\w+|\W+", expected.strip())))
+    sorted_actual = "".join(sorted(re.findall(r"\w+|\W+", actual.strip())))
 
     if sorted_expected == sorted_actual:
         status = 0
@@ -20,5 +20,5 @@ def main():
     sys.exit(status)
 
 
-if __name__ == '__main__':
+if __name__ == "__main__":
     main()
This page took 0.022839 seconds and 4 git commands to generate.