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

Method test_pathlike_bytes_name

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

test_pathlike_nameMethod · 0.95
fsencodeMethod · 0.80

Tested by

no test coverage detected