From acd343ddbb1174d881e67c95740e1fdce40a729d Mon Sep 17 00:00:00 2001 From: davidlm Date: Tue, 25 Jul 2023 17:09:00 -0400 Subject: [PATCH] actually fixed test --- tests/unit/test_compress.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/test_compress.py b/tests/unit/test_compress.py index a0a1119443..02520f5300 100644 --- a/tests/unit/test_compress.py +++ b/tests/unit/test_compress.py @@ -288,10 +288,9 @@ def test_dict_no_compression(): assert body == encoded_body.encode('utf-8') -@pytest.mark.parametrize('body', [1, object(), None, True, 1.0]) +@pytest.mark.parametrize('body', [1, object(), True, 1.0]) def test_maybe_compress_bad_types(body): request_dict = _request_dict(body) - body = request_dict['body'] maybe_compress_request( COMPRESSION_CONFIG_1_BYTE, request_dict, OP_WITH_COMPRESSION )