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

Method test_glob_empty

Lib/test/test_zipfile/_path/test_path.py:532–535  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

530 ]
531
532 def test_glob_empty(self):
533 root = zipfile.Path(zipfile.ZipFile(io.BytesIO(), 'w'))
534 with self.assertRaises(ValueError):
535 root.glob('')
536
537 @pass_alpharep
538 def test_eq_hash(self, alpharep):

Callers

nothing calls this directly

Calls 2

globMethod · 0.95
assertRaisesMethod · 0.45

Tested by

no test coverage detected