mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Use py.test style assertions
This commit is contained in:
+2
-2
@@ -1136,8 +1136,8 @@ class TestRequests(object):
|
||||
with contextlib.closing(s.get(httpbin('stream/4'), stream=True)) as response:
|
||||
pass
|
||||
|
||||
self.assertFalse(response._content_consumed)
|
||||
self.assertTrue(response.raw.closed)
|
||||
assert not response._content_consumed is False
|
||||
assert response.raw.closed
|
||||
|
||||
@pytest.mark.xfail
|
||||
def test_response_iter_lines_reentrant(self, httpbin):
|
||||
|
||||
Reference in New Issue
Block a user