1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-25 12:41:56 +03:00

Remove set() to preserve test case order

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis
2022-07-20 13:35:53 +01:00
parent 1c413bda51
commit 1bdee226e3

View File

@ -155,10 +155,9 @@ class BignumOperation(BignumTarget):
@classmethod
def get_value_pairs(cls) -> Iterator[Tuple[str, ...]]:
"""Generate value pairs."""
for pair in set(
list(itertools.combinations(cls.input_vals, 2)) +
cls.input_cases
):
for pair in list(
itertools.combinations(cls.input_vals, 2)
) + cls.input_cases:
yield pair
@classmethod