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:
44b1e7e
)
Fix python 2.6 unittest compatability issue.
author
Johnny Goodnow
<j.goodnow29@gmail.com>
Fri, 25 Jan 2013 05:25:14 +0000
(21:25 -0800)
committer
Johnny Goodnow
<j.goodnow29@gmail.com>
Fri, 25 Jan 2013 05:25:14 +0000
(21:25 -0800)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index
24cbc13
..
99e245f
100644
(file)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-60,7
+60,7
@@
class RequestsTestCase(unittest.TestCase):
def test_no_content_length(self):
req = requests.Request('GET', httpbin('get')).prepare()
- self.assert
NotIn('Content-Length',
req.headers)
+ self.assert
True('Content-Length' not in
req.headers)
def test_path_is_not_double_encoded(self):