We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8562925 commit 343c9f2Copy full SHA for 343c9f2
Lib/zoneinfo/_tzpath.py
@@ -81,12 +81,12 @@ def _validate_tzfile_path(path, _base=_TEST_PATH):
81
raise ValueError(
82
"ZoneInfo key must not be an empty string"
83
)
84
-
+
85
if os.path.isabs(path):
86
87
f"ZoneInfo keys may not be absolute paths, got: {path}"
88
89
90
# We only care about the kinds of path normalizations that would change the
91
# length of the key - e.g. a/../b -> a/b, or a/b/ -> a/b. On Windows,
92
# normpath will also change from a/b to a\b, but that would still preserve
0 commit comments