Exemplo
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
- Pacotes
- python-dateutil 2.8.2
- Ambiente
- python
- Criado
- 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
Arquivos
- NOTES.md
- csx.json
- requirements.txt
- test/contract.py
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9