From be564e500cdebff5c0325808adb9ff33610b7c78 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Fri, 23 Oct 2015 17:28:53 +0100 Subject: [PATCH] Fixup assertion broken in rewrite to py.test Broke it in 0364a8ca7fc67b89f3e54d50fa3936d65e979b96 --- test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_requests.py b/test_requests.py index 27b8fcde..38eedb8e 100755 --- a/test_requests.py +++ b/test_requests.py @@ -1136,7 +1136,7 @@ class TestRequests(object): with contextlib.closing(s.get(httpbin('stream/4'), stream=True)) as response: pass - assert not response._content_consumed is False + assert response._content_consumed is False assert response.raw.closed @pytest.mark.xfail