diff options
Diffstat (limited to 'test/src/lib/tests.py')
| -rw-r--r-- | test/src/lib/tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/src/lib/tests.py b/test/src/lib/tests.py index 7ccedef..b20ecc5 100644 --- a/test/src/lib/tests.py +++ b/test/src/lib/tests.py @@ -14,8 +14,10 @@ def my_parametrize(names, values, ids=None, **kwargs): if len(_names) == 1: ids = [f'{names}={v}' for v in values] else: - _values = [combination.values if hasattr(combination, 'values') else combination - for combination in values] + _values = [ + combination.values if hasattr(combination, 'values') else combination + for combination in values + ] ids = [ '-'.join(f'{k}={v}' for k, v in zip(_names, combination)) for combination in _values |
