(self)
| 1354 | return (file1, file2) |
| 1355 | |
| 1356 | def test_copy(self): |
| 1357 | # Ensure that the copied file exists and has the same mode bits. |
| 1358 | file1, file2 = self._copy_file(shutil.copy) |
| 1359 | self.assertTrue(os.path.exists(file2)) |
| 1360 | self.assertEqual(os.stat(file1).st_mode, os.stat(file2).st_mode) |
| 1361 | |
| 1362 | @os_helper.skip_unless_symlink |
| 1363 | def test_copy_symlinks(self): |
nothing calls this directly
no test coverage detected