diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-10 20:16:53 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-11 04:34:12 -0700 |
| commit | ff0ee839987c43c420f1a5d167e3c3c0e873411c (patch) | |
| tree | f4be82d608dc19f86426031b80951491c2a8862d /tests/test_grouping.py | |
| parent | deb38ec69a428452c3b519d4ab02956af8eebd0d (diff) | |
| download | sqlparse-ff0ee839987c43c420f1a5d167e3c3c0e873411c.tar.gz | |
Apply new-style str format
Diffstat (limited to 'tests/test_grouping.py')
| -rw-r--r-- | tests/test_grouping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_grouping.py b/tests/test_grouping.py index fdcd4a7..7ea1c75 100644 --- a/tests/test_grouping.py +++ b/tests/test_grouping.py @@ -373,7 +373,7 @@ def test_comparison_with_functions(): # issue230 @pytest.mark.parametrize('start', ['FOR', 'FOREACH']) def test_forloops(start): - p = sqlparse.parse('%s foo in bar LOOP foobar END LOOP' % start)[0] + p = sqlparse.parse('{0} foo in bar LOOP foobar END LOOP'.format(start))[0] assert (len(p.tokens)) == 1 assert isinstance(p.tokens[0], sql.For) |
