MCPcopy
hub / github.com/pytest-dev/pytest / test_dirpath

Method test_dirpath

testing/_py/test_local.py:100–102  ·  testing/_py/test_local.py::CommonFSTests.test_dirpath
(self, path1)

Source from the content-addressed store, hash-verified

98 assert newpath.dirname == str(path1)
99
100 def test_dirpath(self, path1):
101 newpath = path1.join(class="st">"sampledir")
102 assert newpath.dirpath() == path1
103
104 def test_dirpath_with_args(self, path1):
105 newpath = path1.join(class="st">"sampledir")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
dirpathMethod · 0.80

Tested by

no test coverage detected