Closed akx closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.28%. Comparing base (
2f87363
) to head (ff4c01c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good to me.
Fixes #1092.
When
pytz
is not installed, importingbabel.localtime
could fail (repeatedly) when theTZ
environment variable is malformed enough to be caught by_validate_tzfile_path
, which might throw a certainValueError
.(When
pytz
is installed, it would raise the samepytz.exceptions.UnknownTimeZoneError
we already catch and ignore for the same input.)