test_naturalday_uses_localtime fails on Windows
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
django.contrib.humanize.tests.test_naturalday_uses_localtime is decorated by a skipIf clause as per #19203.
However, running on a Windows machine -- with pytz not installed and system timezone set to UTC -- the skip condition still evaluates to False. This is since settings.TIME_ZONE does default to "America/Chicago", and, as a result, the test case fails.
Change History (4)
comment:1 Changed 22 months ago by mjtamlyn
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted