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

Method test_find_ustar_longname

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

Source from the content-addressed store, hash-verified

1164 self._test_member(tarinfo, size=7011, chksum=sha256_regtype)
1165
1166 def test_find_ustar_longname(self):
1167 name = "ustar/" + "12345/" * 39 + "1234567/longname"
1168 self.assertIn(name, self.tar.getnames())
1169
1170 def test_find_regtype_oldv7(self):
1171 tarinfo = self.tar.getmember("misc/regtype-old-v7")

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
getnamesMethod · 0.80

Tested by

no test coverage detected