Lines Matching refs:scandir
4077 entry = [entry for entry in os.scandir(self.path)].pop()
4101 for entry in os.scandir(self.path))
4119 scandir_iter = os.scandir(self.path)
4125 scandir_iter = os.scandir(self.path)
4201 entries = list(os.scandir(path))
4220 entries = dict((entry.name, entry) for entry in os.scandir())
4308 entries = list(os.scandir(path_bytes))
4322 entries = list(os.scandir(path_bytes))
4335 self.assertIn(os.scandir, os.supports_fd)
4344 with os.scandir(fd) as it:
4362 self.assertRaises(FileNotFoundError, os.scandir, '')
4366 iterator = os.scandir(self.path)
4377 self.assertRaises(TypeError, os.scandir, obj)
4382 iterator = os.scandir(self.path)
4393 with os.scandir(self.path) as iterator:
4401 with os.scandir(self.path) as iterator:
4409 with os.scandir(self.path) as iterator:
4418 iterator = os.scandir(self.path)
4424 iterator = os.scandir(self.path)