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

Method test_glob_single_char

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

Source from the content-addressed store, hash-verified

514
515 @pass_alpharep
516 def test_glob_single_char(self, alpharep):
517 root = zipfile.Path(alpharep)
518
519 assert list(root.glob("a?txt")) == [zipfile.Path(alpharep, "a.txt")]
520 assert list(root.glob("a[.]txt")) == [zipfile.Path(alpharep, "a.txt")]
521 assert list(root.glob("a[?]txt")) == []
522
523 @pass_alpharep
524 def test_glob_chars(self, alpharep):

Callers

nothing calls this directly

Calls 2

globMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected