MCPcopy Create free account
hub / github.com/python/cpython / test_suffix_no_filename

Method test_suffix_no_filename

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

Source from the content-addressed store, hash-verified

419
420 @pass_alpharep
421 def test_suffix_no_filename(self, alpharep):
422 alpharep.filename = None
423 root = zipfile.Path(alpharep)
424 assert root.joinpath('example').suffix == ""
425 assert root.joinpath('example').suffixes == []
426
427 @pass_alpharep
428 def test_stem(self, alpharep):

Callers

nothing calls this directly

Calls 1

joinpathMethod · 0.95

Tested by

no test coverage detected