From fd31453aa25f80f04e1ce36de9abff0460bd136a Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 25 May 2015 17:08:06 -0400 Subject: [PATCH] fix unittest typo --- test_requests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_requests.py b/test_requests.py index cf93c48a..4ffd6847 100755 --- a/test_requests.py +++ b/test_requests.py @@ -1067,8 +1067,8 @@ class RequestsTestCase(unittest.TestCase): with contextlib.closing(s.get(httpbin('stream/4'), stream=True)) as response: pass - self.assertEqual(response._content_consumed, False) - self.assertTrue(response.raw.closed, True) + self.assertFalse(response._content_consumed) + self.assertTrue(response.raw.closed) @pytest.mark.xfail def test_response_iter_lines_reentrant(self):