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

Method test_chown_identity

testing/_py/test_local.py:1505–1508  ·  testing/_py/test_local.py::TestPOSIXLocalPath.test_chown_identity
(self, path1)

Source from the content-addressed store, hash-verified

1503 assert oldstat.mode == newstat.mode
1504
1505 def test_chown_identity(self, path1):
1506 owner = path1.stat().owner
1507 group = path1.stat().group
1508 path1.chown(owner, group)
1509
1510 def test_chown_dangling_link(self, path1):
1511 owner = path1.stat().owner

Callers

nothing calls this directly

Calls 2

statMethod · 0.80
chownMethod · 0.80

Tested by

no test coverage detected