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_tokenize.py | |
| parent | deb38ec69a428452c3b519d4ab02956af8eebd0d (diff) | |
| download | sqlparse-ff0ee839987c43c420f1a5d167e3c3c0e873411c.tar.gz | |
Apply new-style str format
Diffstat (limited to 'tests/test_tokenize.py')
| -rw-r--r-- | tests/test_tokenize.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tokenize.py b/tests/test_tokenize.py index 2e931ba..adfd1ea 100644 --- a/tests/test_tokenize.py +++ b/tests/test_tokenize.py @@ -151,7 +151,7 @@ class TestStream(unittest.TestCase): 'CROSS JOIN', 'STRAIGHT JOIN', 'INNER JOIN', 'LEFT INNER JOIN']) def test_parse_join(expr): - p = sqlparse.parse('%s foo' % expr)[0] + p = sqlparse.parse('{0} foo'.format(expr))[0] assert len(p.tokens) == 3 assert p.tokens[0].ttype is T.Keyword |
