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

Method test_glob_subdirs

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

Source from the content-addressed store, hash-verified

502
503 @pass_alpharep
504 def test_glob_subdirs(self, alpharep):
505 root = zipfile.Path(alpharep)
506
507 assert list(root.glob("*/i.txt")) == []
508 assert list(root.rglob("*/i.txt")) == [zipfile.Path(alpharep, "g/h/i.txt")]
509
510 @pass_alpharep
511 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