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.