MCPcopy Index your code
hub / github.com/python/cpython / test_dereference_hardlink

Method test_dereference_hardlink

Lib/test/test_tarfile.py:2208–2212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2206 "add file as hardlink failed")
2207
2208 def test_dereference_hardlink(self):
2209 self.tar.dereference = True
2210 tarinfo = self.tar.gettarinfo(self.bar)
2211 self.assertEqual(tarinfo.type, tarfile.REGTYPE,
2212 "dereferencing hardlink failed")
2213
2214
2215class PaxWriteTest(GNUWriteTest):

Callers

nothing calls this directly

Calls 2

gettarinfoMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected