From: Chase Sterling Date: Fri, 5 Apr 2013 02:48:14 +0000 (-0400) Subject: Make sure unit test works on python 2.6 X-Git-Tag: v1.2.1~24^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c47ce1136ed12e992fe3404b8e6634060bcd411;p=services%2Fpython-requests.git Make sure unit test works on python 2.6 --- 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):