Home
last modified time | relevance | path

Searched refs:tz_root (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/zoneinfo/
D_tzpath.py136 for tz_root in TZPATH:
137 if not os.path.exists(tz_root):
140 for root, dirnames, files in os.walk(tz_root):
141 if root == tz_root:
152 key = os.path.relpath(fpath, start=tz_root)
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py1648 def touch_zone(self, key, tz_root): argument
1653 if not os.path.exists(tz_root):
1658 os.makedirs(os.path.join(tz_root, root_dir), exist_ok=True)
1660 zonefile_path = os.path.join(tz_root, key)
1730 tz_root = os.path.join(td, case_name)
1731 os.mkdir(tz_root)
1734 self.touch_zone(key, tz_root)
1736 with self.tzpath_context([tz_root]):