diff options
Diffstat (limited to 'tests/test_common.py')
-rw-r--r-- | tests/test_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_common.py b/tests/test_common.py index c2c5e41..2a9a264 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -71,7 +71,7 @@ class ParameterTest(TestCase): self.assertEqual(extract_params([('')]), None) def test_add_params_to_uri(self): - correct = '%s?%s' % (URI, PARAMS_FORMENCODED) + correct = '{}?{}'.format(URI, PARAMS_FORMENCODED) self.assertURLEqual(add_params_to_uri(URI, PARAMS_DICT), correct) self.assertURLEqual(add_params_to_uri(URI, PARAMS_TWOTUPLE), correct) |