MCPcopy Index your code
hub / github.com/python/cpython / test_realpath_curdir_strict

Method test_realpath_curdir_strict

Lib/test/test_ntpath.py:489–495  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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())

Callers

nothing calls this directly

Calls 1

testerFunction · 0.85

Tested by

no test coverage detected