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:26:15 -0400 |
| commit | 96010ae15bc2ce6b6a73a224da04fde94242a10d (patch) | |
| tree | fbdad7b4e312dab0ac7fbe256721593717bf60b3 | |
| parent | e265112cd11c40b43ef8cf255ac5280e4d2e182a (diff) | |
Corrected indentation in a contrib.humanize test; refs #23340.
Thanks Zach Borboa for the report.
| -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 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 |
