Skip to content

Commit

Permalink
actually fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlm committed Jul 25, 2023
1 parent 19586f4 commit acd343d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/test_compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit acd343d

Please sign in to comment.