(self, kwargs)
| 462 | @skip_if_ABSTFN_contains_backslash |
| 463 | @_parameterize({}, {'strict': True}, {'strict': ALL_BUT_LAST}, {'strict': ALLOW_MISSING}) |
| 464 | def test_realpath_pardir(self, kwargs): |
| 465 | self.assertEqual(realpath('..', **kwargs), dirname(os.getcwd())) |
| 466 | self.assertEqual(realpath('../..', **kwargs), dirname(dirname(os.getcwd()))) |
| 467 | self.assertEqual(realpath('/'.join(['..'] * 100), **kwargs), '/') |
| 468 | |
| 469 | self.assertEqual(realpath(b'..', **kwargs), dirname(os.getcwdb())) |
| 470 | self.assertEqual(realpath(b'../..', **kwargs), dirname(dirname(os.getcwdb()))) |
| 471 | self.assertEqual(realpath(b'/'.join([b'..'] * 100), **kwargs), b'/') |
| 472 | |
| 473 | @os_helper.skip_unless_symlink |
| 474 | @skip_if_ABSTFN_contains_backslash |
nothing calls this directly
no test coverage detected