| 487 | tester("ntpath.realpath('\\'.join(['.'] * 100))", expected) |
| 488 | |
| 489 | def test_realpath_curdir_strict(self): |
| 490 | expected = ntpath.normpath(os.getcwd()) |
| 491 | tester("ntpath.realpath('.', strict=True)", expected) |
| 492 | tester("ntpath.realpath('./.', strict=True)", expected) |
| 493 | tester("ntpath.realpath('/'.join(['.'] * 100), strict=True)", expected) |
| 494 | tester("ntpath.realpath('.\\.', strict=True)", expected) |
| 495 | tester("ntpath.realpath('\\'.join(['.'] * 100), strict=True)", expected) |
| 496 | |
| 497 | def test_realpath_curdir_missing_ok(self): |
| 498 | expected = ntpath.normpath(os.getcwd()) |