Lines Matching refs:fwalk
1279 # Wrapper to hide minor differences between os.walk and os.fwalk
1474 @unittest.skipUnless(hasattr(os, 'fwalk'), "Test needs os.fwalk()")
1476 """Tests for os.fwalk()."""
1479 for root, dirs, files, root_fd in self.fwalk(top, **kwargs):
1482 def fwalk(self, *args, **kwargs):
1483 return os.fwalk(*args, **kwargs)
1499 for root, dirs, files, rootfd in self.fwalk(**fwalk_kwargs):
1521 for root, dirs, files, rootfd in self.fwalk(*args, follow_symlinks=follow_symlinks):
1534 # we both check that calling fwalk() a large number of times doesn't
1539 for x in self.fwalk(os_helper.TESTFN):
1545 # fwalk() keeps file descriptors open
1562 @unittest.skipUnless(hasattr(os, 'fwalk'), "Test needs os.fwalk()")
1565 def fwalk(self, top='.', *args, **kwargs):
1566 for broot, bdirs, bfiles, topfd in os.fwalk(os.fsencode(top), *args, **kwargs):