diff --git a/tests/test_bindings.py b/tests/test_bindings.py index 99c4f651..099f832f 100644 --- a/tests/test_bindings.py +++ b/tests/test_bindings.py @@ -97,12 +97,12 @@ def test_secretbox_easy(): @pytest.mark.parametrize( ("encoder", "decoder"), [ - [bytes, bytearray], - [bytearray, bytes], - [bytearray, bytearray], + (bytes, bytearray), + (bytearray, bytes), + (bytearray, bytearray), ], ) -def test_secretbox_bytearray(encoder, decoder): +def test_secretbox_bytearray(encoder: type[bytes], decoder: type[bytes]): key = b"\x00" * c.crypto_secretbox_KEYBYTES msg = b"message" nonce = b"\x01" * c.crypto_secretbox_NONCEBYTES