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:27:11 -0400
commitac54e6af95a2d38734aa17daad5eaf0ee453acf9 (patch)
treea2e58e227ca377bda08fffdf5905f6987310c7a3
parent2e749f247c1f989c6fe794299f1db27627866bce (diff)
[1.7.x] Corrected indentation in a contrib.humanize test; refs #23340.
Thanks Zach Borboa for the report. Backport of 96010ae15b from master
-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