summaryrefslogtreecommitdiff
path: root/pyflakes/test/harness.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyflakes/test/harness.py')
-rw-r--r--pyflakes/test/harness.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyflakes/test/harness.py b/pyflakes/test/harness.py
index 1cdb809..9bcc0bb 100644
--- a/pyflakes/test/harness.py
+++ b/pyflakes/test/harness.py
@@ -29,9 +29,9 @@ class TestCase(unittest.TestCase):
expectedOutputs.sort(key=lambda t: t.__name__)
self.assertEqual(outputs, expectedOutputs, '''\
for input:
-%s
+{}
expected outputs:
-%r
+{!r}
but got:
-%s''' % (input, expectedOutputs, '\n'.join([str(o) for o in w.messages])))
+{}'''.format(input, expectedOutputs, '\n'.join([str(o) for o in w.messages])))
return w