diff options
| author | Tim Graham <timograham@gmail.com> | 2014-09-10 12:26:15 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-09-10 12:27:14 -0400 |
| commit | cc8486b6fe7247ce1bf06f661248191483f7296c (patch) | |
| tree | b046fc41e34498cee9a4c9e3078fc7331065b853 | |
| parent | eba54eb157f0ad4965304ff425a5d300170724fb (diff) | |
[1.6.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/humanize/tests.py b/django/contrib/humanize/tests.py index 7e936bcd45..3cc321b0b0 100644 --- a/django/contrib/humanize/tests.py +++ b/django/contrib/humanize/tests.py @@ -274,6 +274,6 @@ class HumanizeTests(TransRealMixin, 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 |
