From 77e2de7cd0818fa6a2483ffd81c9367aabad52b1 Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Thu, 27 Mar 2014 15:29:26 +0200 Subject: [PATCH] fixed cross-version support of test using str.format --- tests/test_find_near_matches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_find_near_matches.py b/tests/test_find_near_matches.py index 226fa8e..8e9e545 100644 --- a/tests/test_find_near_matches.py +++ b/tests/test_find_near_matches.py @@ -93,7 +93,7 @@ class TestFindNearMatches(unittest.TestCase): [Match(42, 43, 0)], ) call_count += 1 - msg = 'failed with max_subs={}, max_ins={}, max_dels={}'.format( + msg = 'failed with max_subs={0}, max_ins={1}, max_dels={2}'.format( max_subs, max_ins, max_dels, ) self.assertEqual(self.mock_search_exact.call_count, call_count, msg)