From: Cory Benfield Date: Sat, 19 Jan 2013 17:14:32 +0000 (+0000) Subject: Remove test that cannot work on Python3. X-Git-Tag: v1.2.0~74^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de32f1774f5e6491aa58075a5e8baad1a85ba330;p=services%2Fpython-requests.git Remove test that cannot work on Python3. --- diff --git a/test_requests.py b/test_requests.py index 3562318..425e357 100644 --- a/test_requests.py +++ b/test_requests.py @@ -268,11 +268,6 @@ class RequestsTestCase(unittest.TestCase): self.assertEqual(r.status_code, 200) self.assertTrue(b"text/py-content-type" in r.request.body) - def test_content_length_is_string_for_file_objects(self): - r = requests.Request(url='http://httpbin.org/post', - data=StringIO.StringIO('abc')).prepare() - self.assertTrue(type(r.headers['Content-Length']) == str) - if __name__ == '__main__': unittest.main()