Lines Matching defs:walk
1277 """Tests for os.walk()."""
1279 # Wrapper to hide minor differences between os.walk and os.fwalk
1281 def walk(self, top, **kwargs):
1284 return os.walk(top, **kwargs)
1359 all = list(self.walk(self.walk_path))
1379 for root, dirs, files in self.walk(walk_path):
1398 all = list(self.walk(self.walk_path, topdown=False))
1422 walk_it = self.walk(self.walk_path, follow_symlinks=True)
1434 walk_it = self.walk(self.walk_path, onerror=errors.append)
1458 iters = [self.walk(base, topdown=False) for j in range(100)]
1465 iters = [self.walk(base, topdown=True) for j in range(100)]
1478 def walk(self, top, **kwargs):
1487 compare with walk() results.
1496 for root, dirs, files in os.walk(**walk_kwargs):
1550 """Tests for os.walk() with bytes."""
1551 def walk(self, top, **kwargs):
1554 for broot, bdirs, bfiles in os.walk(os.fsencode(top), **kwargs):
1564 """Tests for os.walk() with bytes."""
4126 self.assertIn('walk', os.__all__)