Lines Matching refs:scandir
4140 entry = [entry for entry in os.scandir(self.path)].pop()
4164 for entry in os.scandir(self.path))
4182 scandir_iter = os.scandir(self.path)
4188 scandir_iter = os.scandir(self.path)
4264 entries = list(os.scandir(path))
4281 # call scandir() without parameter: it must list the content
4283 entries = dict((entry.name, entry) for entry in os.scandir())
4312 # On POSIX, is_dir() result depends if scandir() filled d_type or not
4332 # On POSIX, is_dir() result depends if scandir() filled d_type or not
4371 entries = list(os.scandir(path_bytes))
4385 entries = list(os.scandir(path_bytes))
4398 self.assertIn(os.scandir, os.supports_fd)
4406 with os.scandir(fd) as it:
4423 self.assertRaises(FileNotFoundError, os.scandir, '')
4427 iterator = os.scandir(self.path)
4438 self.assertRaises(TypeError, os.scandir, obj)
4443 iterator = os.scandir(self.path)
4454 with os.scandir(self.path) as iterator:
4462 with os.scandir(self.path) as iterator:
4470 with os.scandir(self.path) as iterator:
4479 iterator = os.scandir(self.path)
4485 iterator = os.scandir(self.path)