On 21.08.20 01:54, Nir Soffer wrote: > Accept variable number of names instead of a sequence: > > with FilePaths("a", "b", "c") as (a, b, c): > > The disadvantage is that base_dir must be used as kwarg: > > with FilePaths("a", "b", base_dir=soc_dir) as (sock1, sock2): > > But this is more clear and calling optional argument as positional > arguments is bad idea anyway. > > Signed-off-by: Nir Soffer > --- > tests/qemu-iotests/194 | 4 ++-- > tests/qemu-iotests/257 | 10 ++++------ > tests/qemu-iotests/iotests.py | 6 +++--- > 3 files changed, 9 insertions(+), 11 deletions(-) Reviewed-by: Max Reitz