Ejemplo
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
Caso
- Objetivo
- Resolve dateutil.tz.gettz('') to the local system timezone instead of returning None (fixed in 2.8.2) HOW
- Paquetes
- python-dateutil 2.8.2
- Entorno
- python
- Creado
- 2026-08-16T05:33:17Z
Contrato
- 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
Archivos
- NOTES.md
- csx.json
- requirements.txt
- test/contract.py
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9