1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-27 00:01:01 +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 @classmethod
def get_value_pairs(cls) -> Iterator[Tuple[str, ...]]: def get_value_pairs(cls) -> Iterator[Tuple[str, ...]]:
"""Generate value pairs.""" """Generate value pairs."""
for pair in set( for pair in list(
list(itertools.combinations(cls.input_vals, 2)) + itertools.combinations(cls.input_vals, 2)
cls.input_cases ) + cls.input_cases:
):
yield pair yield pair
@classmethod @classmethod