Skip to content

Commit 9317c48

Browse files
committed
Fix for Python 2.6 string formatting
1 parent 86589b6 commit 9317c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_history/tests/tests/test_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def test_history_form_view_getting_history(self):
429429
'original_opts': ANY,
430430
'changelist_url': '/admin/tests/poll/',
431431
'change_url': ANY,
432-
'history_url': '/admin/tests/poll/{}/history/'.format(poll.pk),
432+
'history_url': '/admin/tests/poll/{pk}/history/'.format(pk=poll.pk),
433433
'add': False,
434434
'change': True,
435435
'has_add_permission': admin.has_add_permission(request),

0 commit comments

Comments
 (0)