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

Method test_dirpath_abs_no_abs

testing/_py/test_local.py:569–572  ·  view source on GitHub ↗
(self, tmpdir)

Source from the content-addressed store, hash-verified

567
568 @skiponwin32
569 def test_dirpath_abs_no_abs(self, tmpdir):
570 p = tmpdir.join("foo")
571 assert p.dirpath("/bar") == tmpdir.join("bar")
572 assert tmpdir.dirpath("/bar", abs=True) == local("/bar")
573
574 def test_gethash(self, tmpdir):
575 from hashlib import md5

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
dirpathMethod · 0.80

Tested by

no test coverage detected