Skip to content
Myr

Fixup assertion broken in rewrite to py.test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Broke it in 0364a8ca7fc67b89f3e54d50fa3936d65e979b96

authored by Cory Benfield · committed by Cory Benfield · parent 70d7b13 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
1134 unmodified lines
11351136 with contextlib.closing(s.get(httpbin('stream/4'), stream=True)) as response:1137 pass11381139 assert not response._content_consumed is False1139 assert response._content_consumed is False1140 assert response.raw.closed11411142 @pytest.mark.xfail1143 def test_response_iter_lines_reentrant(self, httpbin):
604 unmodified lines