(self)
| 316 | self.skipTest('os.link(): %s' % e) |
| 317 | |
| 318 | def test_sameopenfile(self): |
| 319 | filename = os_helper.TESTFN |
| 320 | self.addCleanup(os_helper.unlink, filename) |
| 321 | create_file(filename) |
| 322 | |
| 323 | with open(filename, "rb", 0) as fp1: |
| 324 | fd1 = fp1.fileno() |
| 325 | with open(filename, "rb", 0) as fp2: |
| 326 | fd2 = fp2.fileno() |
| 327 | self.assertTrue(self.pathmodule.sameopenfile(fd1, fd2)) |
| 328 | |
| 329 | def test_realpath_mode_values(self): |
| 330 | for name in 'ALL_BUT_LAST', 'ALLOW_MISSING': |
nothing calls this directly
no test coverage detected