MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_add_hardlink

Method test_add_hardlink

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

Source from the content-addressed store, hash-verified

2184 "add file as regular failed")
2185
2186 def test_add_hardlink(self):
2187 tarinfo = self.tar.gettarinfo(self.bar)
2188 self.assertEqual(tarinfo.type, tarfile.LNKTYPE,
2189 "add file as hardlink failed")
2190
2191 def test_dereference_hardlink(self):
2192 self.tar.dereference = True

Callers

nothing calls this directly

Calls 2

gettarinfoMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected