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

Method test_dirpath_with_args

testing/_py/test_local.py:104–106  ·  testing/_py/test_local.py::CommonFSTests.test_dirpath_with_args
(self, path1)

Source from the content-addressed store, hash-verified

102 assert newpath.dirpath() == path1
103
104 def test_dirpath_with_args(self, path1):
105 newpath = path1.join(class="st">"sampledir")
106 assert newpath.dirpath(class="st">"x") == path1.join(class="st">"x")
107
108 def test_newbasename(self, path1):
109 newpath = path1.join(class="st">"samplefile")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
dirpathMethod · 0.80

Tested by

no test coverage detected