| 481 | tester("ntpath.realpath('\\'.join(['.'] * 100))", expected) |
| 482 | |
| 483 | def test_realpath_curdir_strict(self): |
| 484 | expected = ntpath.normpath(os.getcwd()) |
| 485 | tester("ntpath.realpath('.', strict=True)", expected) |
| 486 | tester("ntpath.realpath('./.', strict=True)", expected) |
| 487 | tester("ntpath.realpath('/'.join(['.'] * 100), strict=True)", expected) |
| 488 | tester("ntpath.realpath('.\\.', strict=True)", expected) |
| 489 | tester("ntpath.realpath('\\'.join(['.'] * 100), strict=True)", expected) |
| 490 | |
| 491 | def test_realpath_curdir_missing_ok(self): |
| 492 | expected = ntpath.normpath(os.getcwd()) |