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

Method test_add_hardlink

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

Source from the content-addressed store, hash-verified

2201 "add file as regular failed")
2202
2203 def test_add_hardlink(self):
2204 tarinfo = self.tar.gettarinfo(self.bar)
2205 self.assertEqual(tarinfo.type, tarfile.LNKTYPE,
2206 "add file as hardlink failed")
2207
2208 def test_dereference_hardlink(self):
2209 self.tar.dereference = True

Callers

nothing calls this directly

Calls 2

gettarinfoMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected