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

Method test_abs_pathnames

Lib/test/test_tarfile.py:1704–1709  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1702 self._test_pathname("foo" + os.sep + os.sep, "foo", dir=True)
1703
1704 def test_abs_pathnames(self):
1705 if sys.platform == "win32":
1706 self._test_pathname("C:\\foo", "foo")
1707 else:
1708 self._test_pathname("/foo", "foo")
1709 self._test_pathname("///foo", "foo")
1710
1711 def test_cwd(self):
1712 # Test adding the current working directory.

Callers

nothing calls this directly

Calls 1

_test_pathnameMethod · 0.95

Tested by

no test coverage detected