Whoops, don't use repr(json.dumps(...))

This commit is contained in:
Florian Bruhin 2016-02-03 21:28:05 +01:00
parent e5e1a0d95c
commit 43b6f18864

View File

@ -400,7 +400,7 @@ def check_open_tabs(quteproc, tabs):
def clipboard_contains(quteproc, httpbin, what, content):
expected = content.replace('(port)', str(httpbin.port))
expected = expected.replace('\\n', '\n')
quteproc.wait_for(message='Setting fake {}: {!r}'.format(
quteproc.wait_for(message='Setting fake {}: {}'.format(
what, json.dumps(expected)))