##// END OF EJS Templates
test-pathencode: randomize length of each path component...
Siddharth Agarwal -
r19319:ec17ddec stable
parent child Browse files
Show More
@@ -125,7 +125,8 b' def makepart(rng, k):'
125 125 p = pickfrom(rng, firsttable)(rng)
126 126 l = len(p)
127 127 ps = [p]
128 while l < k:
128 maxl = rng.randint(1, k)
129 while l < maxl:
129 130 p = pickfrom(rng, resttable)(rng)
130 131 l += len(p)
131 132 ps.append(p)
General Comments 0
You need to be logged in to leave comments. Login now