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

Method test_abs_pathnames

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

Source from the content-addressed store, hash-verified

1685 self._test_pathname("foo" + os.sep + os.sep, "foo", dir=True)
1686
1687 def test_abs_pathnames(self):
1688 if sys.platform == "win32":
1689 self._test_pathname("C:\\foo", "foo")
1690 else:
1691 self._test_pathname("/foo", "foo")
1692 self._test_pathname("///foo", "foo")
1693
1694 def test_cwd(self):
1695 # Test adding the current working directory.

Callers

nothing calls this directly

Calls 1

_test_pathnameMethod · 0.95

Tested by

no test coverage detected