Show More
@@ -6,6 +6,7 b' import sys' | |||
|
6 | 6 | |
|
7 | 7 | from mercurial import ( |
|
8 | 8 | mdiff, |
|
9 | pycompat, | |
|
9 | 10 | ) |
|
10 | 11 | |
|
11 | 12 | def reducetest(a, b): |
@@ -63,7 +64,7 b' def test(a, b):' | |||
|
63 | 64 | def rndtest(size, noise): |
|
64 | 65 | a = [] |
|
65 | 66 | src = " aaaaaaaabbbbccd" |
|
66 | for x in xrange(size): | |
|
67 | for x in pycompat.xrange(size): | |
|
67 | 68 | a.append(src[random.randint(0, len(src) - 1)]) |
|
68 | 69 | |
|
69 | 70 | while True: |
General Comments 0
You need to be logged in to leave comments.
Login now