(self)
| 4782 | check_no_resource_warning = warnings_helper.check_no_resource_warning |
| 4783 | |
| 4784 | def setUp(self): |
| 4785 | self.path = os.path.realpath(os_helper.TESTFN) |
| 4786 | self.bytes_path = os.fsencode(self.path) |
| 4787 | self.addCleanup(os_helper.rmtree, self.path) |
| 4788 | os.mkdir(self.path) |
| 4789 | |
| 4790 | def create_file(self, name="file.txt"): |
| 4791 | path = self.bytes_path if isinstance(name, bytes) else self.path |
nothing calls this directly
no test coverage detected