mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 17:15:35 +00:00
Casting to BufferedReader no longer needed in test
This commit is contained in:
@@ -93,7 +93,7 @@ def test_response_parses_correctly_and_fp_attribute_error_is_not_thrown():
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
vcr_response = VCRHTTPResponse(recorded_response)
|
vcr_response = VCRHTTPResponse(recorded_response)
|
||||||
handle = io.TextIOWrapper(io.BufferedReader(vcr_response), encoding="utf-8")
|
handle = io.TextIOWrapper(vcr_response, encoding="utf-8")
|
||||||
handle = iter(handle)
|
handle = iter(handle)
|
||||||
articles = [line for line in handle]
|
articles = [line for line in handle]
|
||||||
assert len(articles) > 1
|
assert len(articles) > 1
|
||||||
|
|||||||
Reference in New Issue
Block a user