From 5c47ce1136ed12e992fe3404b8e6634060bcd411 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Thu, 4 Apr 2013 22:48:14 -0400 Subject: [PATCH] Make sure unit test works on python 2.6 --- test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_requests.py b/test_requests.py index c0cb054..5a0ed98 100644 --- 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): -- 2.34.1