From 5476dd010cf6c1cdeb573b1383257ce6111167df Mon Sep 17 00:00:00 2001 From: Matt Ghantous Date: Mon, 5 Jun 2023 23:47:47 -0400 Subject: [PATCH] Casting to BufferedReader no longer needed in test --- tests/unit/test_response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_response.py b/tests/unit/test_response.py index 30d82e7..b1a6dbe 100644 --- a/tests/unit/test_response.py +++ b/tests/unit/test_response.py @@ -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