diff --git a/test_requests.py b/test_requests.py index c0cb0549..5a0ed980 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):