projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89c8cbb
)
Remove test that cannot work on Python3.
author
Cory Benfield
<lukasaoz@gmail.com>
Sat, 19 Jan 2013 17:14:32 +0000
(17:14 +0000)
committer
Cory Benfield
<lukasaoz@gmail.com>
Sat, 19 Jan 2013 17:14:32 +0000
(17:14 +0000)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index 3562318f84d0dffe0a7d25eb2b3077fb87d6e6cb..425e357094577df761909c4a60532bc88139ae80 100644
(file)
--- 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()