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

Method test_glob_chars

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

Source from the content-addressed store, hash-verified

522
523 @pass_alpharep
524 def test_glob_chars(self, alpharep):
525 root = zipfile.Path(alpharep)
526
527 assert list(root.glob("j/?.b[ai][nz]")) == [
528 zipfile.Path(alpharep, "j/k.bin"),
529 zipfile.Path(alpharep, "j/l.baz"),
530 ]
531
532 def test_glob_empty(self):
533 root = zipfile.Path(zipfile.ZipFile(io.BytesIO(), 'w'))

Callers

nothing calls this directly

Calls 2

globMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected