Beispiel
Resolve dateutil.tz.gettz('') to the local system timezone instead of returning None (fixed in 2.8.2)
sha256:c869de53f102a4d565bb2dc268b5131d576360610b8edd0bf6604b666bd8bcab
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Resolve dateutil.tz.gettz('') to the local system timezone instead of returning None (fixed in 2.8.2) HOW
- Pakete
- python-dateutil 2.8.2
- Umgebung
- python
- Erstellt
- 2026-08-16T05:33:17Z
Contract
- assert gettz('') returns a tzinfo instance, not None
- assert gettz('') matches gettz() default local timezone
- assert gettz(':') returns the local timezone
- assert gettz() with empty TZ env var returns the local timezone
- assert datetime.now(gettz('')) produces a timezone-aware datetime
Dateien
- NOTES.md
- csx.json
- requirements.txt
- test/contract.py
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9