Merge pull request #909 from bmispelon/ticket-20061
Fix 20061: remove out of date comment.
This commit is contained in:
commit
6880c1b8f2
|
@ -39,8 +39,6 @@ class MockDateTime(datetime.datetime):
|
||||||
class HumanizeTests(TestCase):
|
class HumanizeTests(TestCase):
|
||||||
|
|
||||||
def humanize_tester(self, test_list, result_list, method):
|
def humanize_tester(self, test_list, result_list, method):
|
||||||
# Using max below ensures we go through both lists
|
|
||||||
# However, if the lists are not equal length, this raises an exception
|
|
||||||
for test_content, result in zip(test_list, result_list):
|
for test_content, result in zip(test_list, result_list):
|
||||||
t = Template('{%% load humanize %%}{{ test_content|%s }}' % method)
|
t = Template('{%% load humanize %%}{{ test_content|%s }}' % method)
|
||||||
rendered = t.render(Context(locals())).strip()
|
rendered = t.render(Context(locals())).strip()
|
||||||
|
|
Loading…
Reference in New Issue