23
22
from bzrlib.transform import TreeTransform
24
23
from bzrlib.workingtree import WorkingTree
27
25
class TransformBenchmark(Benchmark):
30
27
def test_canonicalize_path(self):
31
28
"""Canonicalizing paths should be fast."""
34
32
for dirpath, dirnames, filenames in os.walk('.'):
35
33
paths.extend(pathjoin(dirpath, d) for d in dirnames)