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:
88f1359
)
Make sure unit test works on python 2.6
author
Chase Sterling
<chase.sterling@gmail.com>
Fri, 5 Apr 2013 02:48:14 +0000
(22:48 -0400)
committer
Chase Sterling
<chase.sterling@gmail.com>
Fri, 5 Apr 2013 02:48:14 +0000
(22:48 -0400)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index c0cb05498191d81a4a33ad688ae06ec74d708a7c..5a0ed98062897c53288e9547f9af602810b923ed 100644
(file)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-135,7
+135,7
@@
class RequestsTestCase(unittest.TestCase):
'foo=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT'
}
)
- self.assertNotIn('foo', s.cookies)
+ assert 'foo' not in s.cookies
def test_user_agent_transfers(self):