Corrected indentation in a contrib.humanize test; refs #23340.

Thanks Zach Borboa for the report.
This commit is contained in:
Tim Graham 2014-09-10 12:26:15 -04:00
parent e265112cd1
commit 96010ae15b
1 changed files with 1 additions and 1 deletions

View File

@ -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