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

Method test_dirpath

testing/_py/test_local.py:100–102  ·  view source on GitHub ↗
(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("sampledir")
102 assert newpath.dirpath() == path1
103
104 def test_dirpath_with_args(self, path1):
105 newpath = path1.join("sampledir")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
dirpathMethod · 0.80

Tested by

no test coverage detected