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

Method test_realpath_curdir_missing_ok

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

testerFunction · 0.85

Tested by

no test coverage detected