tests/test-annotate.py
changeset 35946 cf887d601014
parent 34433 2f5a135b2b04
child 35947 a36d3c8a0e41
--- a/tests/test-annotate.py	Wed Feb 07 13:19:19 2018 +0530
+++ b/tests/test-annotate.py	Wed Feb 07 13:21:06 2018 +0530
@@ -27,7 +27,7 @@
 
         def decorate(text, rev):
             return ([annotateline(fctx=rev, lineno=i)
-                     for i in xrange(1, text.count(b'\n') + 1)],
+                     for i in range(1, text.count(b'\n') + 1)],
                     text)
 
         # Basic usage