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