summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-10-28 22:35:01 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-10-28 22:36:01 +0100
commit95f3f0cbbe65cf6eead85f544fc0826e5e6a2ef4 (patch)
tree6e9cc13b83df5f891177440bc3b52efb1d89fca9
parent8d7e526229c27567860f7479dbce15d245742feb (diff)
[1.5.x] Fixed a typo in aff9b2f.
Thanks void. Backport of effe96b from master.
-rw-r--r--django/contrib/humanize/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/humanize/tests.py b/django/contrib/humanize/tests.py
index 57ce695185..c648f544d7 100644
--- a/django/contrib/humanize/tests.py
+++ b/django/contrib/humanize/tests.py
@@ -148,11 +148,11 @@ class HumanizeTests(TestCase):
# As 24h of difference they will never be the same
self.assertNotEqual(naturalday_one, naturalday_two)
- @skipIf(settings.TIME_ZONE != "Ameria/Chicago" and pytz is None,
+ @skipIf(settings.TIME_ZONE != "America/Chicago" and pytz is None,
"this test requires pytz when a non-default time zone is set")
def test_naturalday_uses_localtime(self):
# Regression for #18504
- # This is 2012-03-08HT19:30:00-06:00 in Ameria/Chicago
+ # This is 2012-03-08HT19:30:00-06:00 in America/Chicago
dt = datetime.datetime(2012, 3, 9, 1, 30, tzinfo=utc)
orig_humanize_datetime, humanize.datetime = humanize.datetime, MockDateTime