mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Corrected indentation in a contrib.humanize test; refs #23340.
Thanks Zach Borboa for the report.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user