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

Method test_dereference_hardlink

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

Source from the content-addressed store, hash-verified

2189 "add file as hardlink failed")
2190
2191 def test_dereference_hardlink(self):
2192 self.tar.dereference = True
2193 tarinfo = self.tar.gettarinfo(self.bar)
2194 self.assertEqual(tarinfo.type, tarfile.REGTYPE,
2195 "dereferencing hardlink failed")
2196
2197
2198class PaxWriteTest(GNUWriteTest):

Callers

nothing calls this directly

Calls 2

gettarinfoMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected