Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jan 18, 2025
1 parent dc50561 commit 3484ea4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_pybase64.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def test_invalid_padding_dec(
[memoryview(b"- _")[::2], BufferError],
]
params_invalid_altchars = pytest.mark.parametrize(
"altchars,exception",
("altchars", "exception"),
params_invalid_altchars_values,
ids=[str(i) for i in range(len(params_invalid_altchars_values))],
)
Expand Down Expand Up @@ -344,7 +344,7 @@ def test_invalid_altchars_dec_validate(
# [std, b'-_', BinAsciiError], TODO does no fail with base64 module
]
params_invalid_data_all = pytest.mark.parametrize(
"vector,altchars,exception",
("vector", "altchars", "exception"),
params_invalid_data_novalidate_values + params_invalid_data_validate_values,
ids=[
str(i)
Expand All @@ -354,12 +354,12 @@ def test_invalid_altchars_dec_validate(
],
)
params_invalid_data_novalidate = pytest.mark.parametrize(
"vector,altchars,exception",
("vector", "altchars", "exception"),
params_invalid_data_novalidate_values,
ids=[str(i) for i in range(len(params_invalid_data_novalidate_values))],
)
params_invalid_data_validate = pytest.mark.parametrize(
"vector,altchars,exception",
("vector", "altchars", "exception"),
params_invalid_data_validate_values,
ids=[str(i) for i in range(len(params_invalid_data_validate_values))],
)
Expand Down Expand Up @@ -409,12 +409,12 @@ def test_invalid_data_dec_validate(
[memoryview(b"abcd").cast("I"), TypeError],
]
params_invalid_data_enc = pytest.mark.parametrize(
"vector,exception",
("vector", "exception"),
params_invalid_data_enc_values,
ids=[str(i) for i in range(len(params_invalid_data_enc_values))],
)
params_invalid_data_encodebytes = pytest.mark.parametrize(
"vector,exception",
("vector", "exception"),
params_invalid_data_encodebytes_values,
ids=[str(i) for i in range(len(params_invalid_data_encodebytes_values))],
)
Expand Down

0 comments on commit 3484ea4

Please sign in to comment.