From: Ralph Bean Date: Fri, 25 Jan 2013 05:10:51 +0000 (-0500) Subject: purported py2.6 support for cookies test. X-Git-Tag: v1.2.0~66^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ce644079570de42d0166c019b4c9bdf42349bca;p=services%2Fpython-requests.git purported py2.6 support for cookies test. --- diff --git a/test_requests.py b/test_requests.py index 01f0a36..10e92f6 100644 --- a/test_requests.py +++ b/test_requests.py @@ -277,7 +277,7 @@ class RequestsTestCase(unittest.TestCase): jar.set(key, value, secure=secure, domain=domain, rest=rest) self.assertEqual(len(jar), 1) - self.assertIn('some_cookie', jar) + self.assertTrue('some_cookie' in jar) cookie = list(jar)[0] self.assertEqual(cookie.secure, secure)