Merge pull request #3859 from asottile/pyupgrade_1_4

Some pyupgrade 1.4.x changes
This commit is contained in:
Anthony Sottile
2018-08-23 18:32:53 -07:00
committed by GitHub
11 changed files with 51 additions and 44 deletions

View File

@@ -270,7 +270,7 @@ class TestTraceback_f_g_h(object):
decorator = pytest.importorskip("decorator").decorator
def log(f, *k, **kw):
print("%s %s" % (k, kw))
print("{} {}".format(k, kw))
f(*k, **kw)
log = decorator(log)