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

Method test_dirpath_with_args

testing/_py/test_local.py:104–106  ·  view source on GitHub ↗
(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("sampledir")
106 assert newpath.dirpath("x") == path1.join("x")
107
108 def test_newbasename(self, path1):
109 newpath = path1.join("samplefile")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
dirpathMethod · 0.80

Tested by

no test coverage detected