Skip to content

Commit

Permalink
avoid unused local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Nov 10, 2024
1 parent 16776d4 commit fc175f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_chunked_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def test_stream_is_cached(self, url, sess):
assert content_1 == content_2

def test_stream_is_not_cached_when_content_is_not_read(self, url, sess):
with sess.get(url + "stream", stream=True) as r1:
with sess.get(url + "stream", stream=True):
with sess.get(url + "stream", stream=True) as resp:

assert not resp.from_cache

0 comments on commit fc175f4

Please sign in to comment.