(self, kwargs)
| 651 | @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') |
| 652 | @_parameterize({}, {'strict': True}, {'strict': ALL_BUT_LAST}, {'strict': ALLOW_MISSING}) |
| 653 | def test_realpath_relative(self, kwargs): |
| 654 | ABSTFN = ntpath.abspath(os_helper.TESTFN) |
| 655 | open(ABSTFN, "wb").close() |
| 656 | self.addCleanup(os_helper.unlink, ABSTFN) |
| 657 | self.addCleanup(os_helper.unlink, ABSTFN + "1") |
| 658 | |
| 659 | os.symlink(ABSTFN, ntpath.relpath(ABSTFN + "1")) |
| 660 | self.assertPathEqual(ntpath.realpath(ABSTFN + "1", **kwargs), ABSTFN) |
| 661 | |
| 662 | @os_helper.skip_unless_symlink |
| 663 | @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname') |
nothing calls this directly
no test coverage detected