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

Method test_common

testing/_py/test_local.py:75–78  ·  view source on GitHub ↗
(self, path1)

Source from the content-addressed store, hash-verified

73 assert revpar == [newpath, path1.join("sampledir"), path1]
74
75 def test_common(self, path1):
76 other = path1.join("sampledir")
77 x = other.common(path1)
78 assert x == path1
79
80 # def test_parents_nonexisting_file(self, path1):
81 # newpath = path1 / 'dirnoexist' / 'nonexisting file'

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
commonMethod · 0.80

Tested by

no test coverage detected