(self)
| 5369 | del iterator |
| 5370 | |
| 5371 | def test_context_manager(self): |
| 5372 | self.create_file("file.txt") |
| 5373 | self.create_file("file2.txt") |
| 5374 | with os.scandir(self.path) as iterator: |
| 5375 | next(iterator) |
| 5376 | with self.check_no_resource_warning(): |
| 5377 | del iterator |
| 5378 | |
| 5379 | def test_context_manager_close(self): |
| 5380 | self.create_file("file.txt") |
nothing calls this directly
no test coverage detected