| 489 | tester("ntpath.realpath('\\'.join(['.'] * 100), strict=True)", expected) |
| 490 | |
| 491 | def test_realpath_curdir_missing_ok(self): |
| 492 | expected = ntpath.normpath(os.getcwd()) |
| 493 | tester("ntpath.realpath('.', strict=ALLOW_MISSING)", |
| 494 | expected) |
| 495 | tester("ntpath.realpath('./.', strict=ALLOW_MISSING)", |
| 496 | expected) |
| 497 | tester("ntpath.realpath('/'.join(['.'] * 100), strict=ALLOW_MISSING)", |
| 498 | expected) |
| 499 | tester("ntpath.realpath('.\\.', strict=ALLOW_MISSING)", |
| 500 | expected) |
| 501 | tester("ntpath.realpath('\\'.join(['.'] * 100), strict=ALLOW_MISSING)", |
| 502 | expected) |
| 503 | |
| 504 | def test_realpath_pardir(self): |
| 505 | expected = ntpath.normpath(os.getcwd()) |