MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_realpath_curdir_strict

Method test_realpath_curdir_strict

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

testerFunction · 0.85

Tested by

no test coverage detected