From ebe28ff075a5217f44b28b9cc01adaada0f473ca Mon Sep 17 00:00:00 2001 From: Tom Most Date: Mon, 28 Dec 2020 14:15:33 -0800 Subject: [PATCH] Wrap long line --- src/treq/client.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/treq/client.py b/src/treq/client.py index 9095680b..509160b0 100644 --- a/src/treq/client.py +++ b/src/treq/client.py @@ -400,9 +400,10 @@ def _convert_files(files): # TypeError about being unable to coerce None. raise TypeError( ( - "`files` argument must be a sequence of tuples of (file_name, file_obj)" - " or (file_name, content_type, file_obj), but the {!r} tuple" - " has length {}: {!r}" + "`files` argument must be a sequence of tuples of" + " (file_name, file_obj) or" + " (file_name, content_type, file_obj)," + " but the {!r} tuple has length {}: {!r}" ).format(param, len(val), val), ) else: