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

Method test_glob_subdirs

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

Source from the content-addressed store, hash-verified

501
502 @pass_alpharep
503 def test_glob_subdirs(self, alpharep):
504 root = zipfile.Path(alpharep)
505
506 assert list(root.glob("*/i.txt")) == []
507 assert list(root.rglob("*/i.txt")) == [zipfile.Path(alpharep, "g/h/i.txt")]
508
509 @pass_alpharep
510 def test_glob_does_not_overmatch_dot(self, alpharep):

Callers

nothing calls this directly

Calls 3

globMethod · 0.95
rglobMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected