summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-09-10 12:26:15 -0400
committerTim Graham <timograham@gmail.com>2014-09-10 12:26:15 -0400
commit96010ae15bc2ce6b6a73a224da04fde94242a10d (patch)
treefbdad7b4e312dab0ac7fbe256721593717bf60b3
parente265112cd11c40b43ef8cf255ac5280e4d2e182a (diff)
Corrected indentation in a contrib.humanize test; refs #23340.
Thanks Zach Borboa for the report.
-rw-r--r--django/contrib/humanize/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/humanize/tests.py b/django/contrib/humanize/tests.py
index dd1505c988..a9882e479f 100644
--- a/django/contrib/humanize/tests.py
+++ b/django/contrib/humanize/tests.py
@@ -283,6 +283,6 @@ class HumanizeTests(TestCase):
for test_time_string, expected_natural_time in test_data:
test_time = datetime.datetime.strptime(test_time_string, time_format)
natural_time = humanize.naturaltime(test_time).replace('\xa0', ' ')
- self.assertEqual(expected_natural_time, natural_time)
+ self.assertEqual(expected_natural_time, natural_time)
finally:
humanize.datetime = orig_humanize_datetime