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

Method test_glob_subdir

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

Source from the content-addressed store, hash-verified

495
496 @pass_alpharep
497 def test_glob_subdir(self, alpharep):
498 root = zipfile.Path(alpharep)
499 assert list(root.glob('g/h')) == [zipfile.Path(alpharep, "g/h/")]
500 assert list(root.glob('g*/h*')) == [zipfile.Path(alpharep, "g/h/")]
501
502 @pass_alpharep
503 def test_glob_subdirs(self, alpharep):

Callers

nothing calls this directly

Calls 2

globMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected