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

Method test_pathlike_bytes_name

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

Source from the content-addressed store, hash-verified

608 self.assertEqual(tar.name, expected)
609
610 def test_pathlike_bytes_name(self):
611 self.test_pathlike_name(os.fsencode(self.tarname))
612
613 def test_illegal_mode_arg(self):
614 with open(tmpname, 'wb'):

Callers

nothing calls this directly

Calls 1

test_pathlike_nameMethod · 0.95

Tested by

no test coverage detected