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()