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

Method test_joinpath_multiple

Lib/test/test_zipfile/_path/test_path.py:257–260  ·  view source on GitHub ↗
(self, alpharep)

Source from the content-addressed store, hash-verified

255
256 @pass_alpharep
257 def test_joinpath_multiple(self, alpharep):
258 root = zipfile.Path(alpharep)
259 e = root.joinpath("b", "d", "e.txt")
260 assert e.read_text(encoding="utf-8") == "content of e"
261
262 @pass_alpharep
263 def test_traverse_truediv(self, alpharep):

Callers

nothing calls this directly

Calls 2

joinpathMethod · 0.95
read_textMethod · 0.45

Tested by

no test coverage detected