test_can_send_bytes_bytearray_objects_with_files test now uses string input, not float.

This commit is contained in:
Rasmus Scholer (TimelineX)
2015-03-03 14:37:39 -05:00
parent 326f77d57c
commit 1887f32b17
+1 -1
View File
@@ -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()