##// END OF EJS Templates
tests: make test-manifest finish importing in Python 3...
Augie Fackler -
r32534:0048a852 default
parent child Browse files
Show More
@@ -92,9 +92,13 b' A_DEEPER_MANIFEST = ('
92 92
93 93 HUGE_MANIFEST_ENTRIES = 200001
94 94
95 izip = getattr(itertools, 'izip', zip)
96 if 'xrange' not in globals():
97 xrange = range
98
95 99 A_HUGE_MANIFEST = ''.join(sorted(
96 100 'file%d\0%s%s\n' % (i, h, f) for i, h, f in
97 itertools.izip(xrange(200001),
101 izip(xrange(200001),
98 102 itertools.cycle((HASH_1, HASH_2)),
99 103 itertools.cycle(('', 'x', 'l')))))
100 104
General Comments 0
You need to be logged in to leave comments. Login now