diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 15:21:12 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 15:21:12 +0200 |
| commit | 0eab2fb9fd2006356c12830145fac067f64f7f8a (patch) | |
| tree | 0af5847aee651c27bfa9f9aa924f5cf1600ed790 /test/src/lib/tests.py | |
| parent | Merge pull request #9 from egor-tensin/dependabot/docker/alpine-3.24 (diff) | |
| download | cimple-0eab2fb9fd2006356c12830145fac067f64f7f8a.tar.gz cimple-0eab2fb9fd2006356c12830145fac067f64f7f8a.zip | |
workflows/ci: add Python linting
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 |
