diff --git a/requests/utils.py b/requests/utils.py index 0ce7fe11..1572ad0c 100644 --- a/requests/utils.py +++ b/requests/utils.py @@ -264,7 +264,7 @@ def from_key_val_list(value): >>> from_key_val_list([('key', 'val')]) OrderedDict([('key', 'val')]) >>> from_key_val_list('string') - ValueError: need more than 1 value to unpack + ValueError: cannot encode objects that are not 2-tuples >>> from_key_val_list({'key': 'val'}) OrderedDict([('key', 'val')])