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

Method test_realpath_basic

Lib/test/test_posixpath.py:476–482  ·  view source on GitHub ↗
(self, kwargs)

Source from the content-addressed store, hash-verified

474 @skip_if_ABSTFN_contains_backslash
475 @_parameterize({}, {'strict': ALLOW_MISSING})
476 def test_realpath_basic(self, kwargs):
477 # Basic operation.
478 try:
479 os.symlink(ABSTFN+"1", ABSTFN)
480 self.assertEqual(realpath(ABSTFN, **kwargs), ABSTFN+"1")
481 finally:
482 os_helper.unlink(ABSTFN)
483
484 @os_helper.skip_unless_symlink
485 @skip_if_ABSTFN_contains_backslash

Callers

nothing calls this directly

Calls 3

realpathFunction · 0.90
assertEqualMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected