From f96ed6615c9f51c2b55320ebf02fa145e55b70f2 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 19 Oct 2018 11:29:56 +0200 Subject: [PATCH] Fix bug in distribute_arguments for multi-argument macros --- tests/scripts/test_psa_constant_names.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/test_psa_constant_names.py b/tests/scripts/test_psa_constant_names.py index 20212936d6..9c674e5da9 100755 --- a/tests/scripts/test_psa_constant_names.py +++ b/tests/scripts/test_psa_constant_names.py @@ -105,7 +105,7 @@ where each argument takes each possible value at least once.''' for value in argument_lists[i][1:]: arguments[i] = value yield self.format_arguments(name, arguments) - arguments[i] = argument_lists[0] + arguments[i] = argument_lists[0][0] except BaseException as e: raise Exception('distribute_arguments({})'.format(name)) from e