iotests: Fix use-{list,dict}-literal warnings
commitcc16153f1fdec4bc841f0bcb9317c4639ab42530
authorHanna Reitz <hreitz@redhat.com>
Tue, 24 Aug 2021 15:35:40 +0000 (24 17:35 +0200)
committerHanna Reitz <hreitz@redhat.com>
Wed, 15 Sep 2021 13:54:07 +0000 (15 15:54 +0200)
tree660746a0a936ec38ccd5d83c6dd69effc1817616
parent81dcb9ca1ff7f5588ed94824f13bc4c5232aca95
iotests: Fix use-{list,dict}-literal warnings

pylint proposes using `[]` instead of `list()` and `{}` instead of
`dict()`, because it is faster.  That seems simple enough, so heed its
advice.

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20210824153540.177128-3-hreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
tests/qemu-iotests/iotests.py