tests/test-filelog.py
changeset 43076 2372284d9457
parent 37977 f71c97d9b97b
child 45849 c102b704edb5
--- a/tests/test-filelog.py	Sat Oct 05 10:29:34 2019 -0400
+++ b/tests/test-filelog.py	Sun Oct 06 09:45:02 2019 -0400
@@ -18,6 +18,7 @@
 
 fl = repo.file(b'foobar')
 
+
 def addrev(text, renamed=False):
     if renamed:
         # data doesn't matter. Just make sure filelog.renamed() returns True
@@ -37,9 +38,11 @@
         if lock:
             lock.release()
 
+
 def error(text):
     print('ERROR: ' + text)
 
+
 textwith = b'\1\nfoo'
 without = b'foo'
 
@@ -49,8 +52,10 @@
 if fl.cmp(node, textwith) or not fl.cmp(node, without):
     error('filelog.cmp for data starting with \\1\\n')
 if fl.size(0) != len(textwith):
-    error('FIXME: This is a known failure of filelog.size for data starting '
-        'with \\1\\n')
+    error(
+        'FIXME: This is a known failure of filelog.size for data starting '
+        'with \\1\\n'
+    )
 
 node = addrev(textwith, renamed=True)
 if not textwith == fl.read(node):