cpython/Lib/test/test_zoneinfo
Miss Islington (bot) 750c3efe82
[3.13] gh-143241: Fix infinite loop in zoneinfo._common.load_data (GH-143243) (#143252)
gh-143241: Fix infinite loop in `zoneinfo._common.load_data` (GH-143243)

Correctly reject truncated TZif files in `ZoneInfo.from_file`.

---------
(cherry picked from commit 3ca1f2a370)

Co-authored-by: Fatih Çelik <fcelik.ft@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-12-28 15:11:32 +00:00
..
data
__init__.py gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975) 2023-10-21 14:26:03 +03:00
__main__.py
_support.py
test_zoneinfo.py [3.13] gh-143241: Fix infinite loop in zoneinfo._common.load_data (GH-143243) (#143252) 2025-12-28 15:11:32 +00:00
test_zoneinfo_property.py [3.13] gh-136297: Fix hypothesis and subTest usage in test_zoneinfo_property.py (GH-136384) (#136408) 2025-07-08 08:14:14 +00:00