aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/zoneinfo/_tzpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/zoneinfo/_tzpath.py')
-rw-r--r--Lib/zoneinfo/_tzpath.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/zoneinfo/_tzpath.py b/Lib/zoneinfo/_tzpath.py
index 990a5c8b6a9..5db17bea045 100644
--- a/Lib/zoneinfo/_tzpath.py
+++ b/Lib/zoneinfo/_tzpath.py
@@ -83,11 +83,6 @@ _TEST_PATH = os.path.normpath(os.path.join("_", "_"))[:-1]
def _validate_tzfile_path(path, _base=_TEST_PATH):
- if not path:
- raise ValueError(
- "ZoneInfo key must not be an empty string"
- )
-
if os.path.isabs(path):
raise ValueError(
f"ZoneInfo keys may not be absolute paths, got: {path}"