Test for sortedness of all_timezones and common_timezones is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pytz |
Triaged
|
Medium
|
Unassigned |
Bug Description
Fedora replaces the hard-coded list of timezones with one dynamically read from /usr/share/zoneinfo (cf. https:/
| [tim@passepartout ~]$ python2 -c 'from pytz import all_timezones, common_timezones; print all_timezones == sorted(
| False False
| [tim@passepartout ~]$ python3 -c 'from pytz import all_timezones, common_timezones; print(all_timezones == sorted(
| False False
| [tim@passepartout ~]$
This is not python-tz's fault, but it would be helpful if the test suite would assert that all_timezones == sorted(
Changed in pytz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
You want the upstream project, not Ubuntu.