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

Method path_from_key

Lib/test/test_zoneinfo/test_zoneinfo.py:2175–2176  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

2173 self._populate_tzpath(source_json)
2174
2175 def path_from_key(self, key):
2176 return self.tzpath / key
2177
2178 def _populate_tzpath(self, source_json):
2179 with open(source_json, "rb") as f:

Callers 8

_populate_tzpathMethod · 0.95
test_strMethod · 0.80
test_reprMethod · 0.80
from_file_nokeyMethod · 0.80
test_from_fileMethod · 0.80
test_from_fileMethod · 0.80
_UTC_bytesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected