1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Merge pull request #713 from mghantous/mg/read1

VCRHTTPResponse Not Working with Biopython 1.81
This commit is contained in:
Sebastian Pipping
2023-06-12 13:08:00 +02:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ def test_response_parses_correctly_and_fp_attribute_error_is_not_thrown():
},
}
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)
articles = [line for line in handle]
assert len(articles) > 1