(self)
| 4819 | scandir_iter.close() |
| 4820 | |
| 4821 | def test_unpickable(self): |
| 4822 | filename = self.create_file("file.txt") |
| 4823 | scandir_iter = os.scandir(self.path) |
| 4824 | import pickle |
| 4825 | self.assertRaises(TypeError, pickle.dumps, scandir_iter, filename) |
| 4826 | scandir_iter.close() |
| 4827 | |
| 4828 | def check_entry(self, entry, name, is_dir, is_file, is_symlink): |
| 4829 | self.assertIsInstance(entry, os.DirEntry) |
nothing calls this directly
no test coverage detected