From 1887f32b17326fdaced7b57da349dc5ad7873435 Mon Sep 17 00:00:00 2001 From: "Rasmus Scholer (TimelineX)" Date: Tue, 3 Mar 2015 14:37:39 -0500 Subject: [PATCH] test_can_send_bytes_bytearray_objects_with_files test now uses string input, not float. --- test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_requests.py b/test_requests.py index 4f38b042..69a10616 100755 --- a/test_requests.py +++ b/test_requests.py @@ -937,7 +937,7 @@ class RequestsTestCase(unittest.TestCase): def test_can_send_bytes_bytearray_objects_with_files(self): # Test bytes: - data = {'a': 0.0} + data = {'a': 'this is a string'} files = {'b': b'foo'} r = requests.Request('POST', httpbin('post'), data=data, files=files) p = r.prepare()