summaryrefslogtreecommitdiffstats
path: root/tests/migration/guestperf-plot.py
diff options
context:
space:
mode:
authorJohn Snow2020-05-14 07:53:51 +0200
committerPhilippe Mathieu-Daudé2020-05-31 18:25:31 +0200
commitde210ec53c842fa67aa10110a7a351d64f91c487 (patch)
treec1c7525c3ae291de507576704f47b90343f84554 /tests/migration/guestperf-plot.py
parentpython/qemu/qmp: use True/False for non/blocking modes (diff)
downloadqemu-de210ec53c842fa67aa10110a7a351d64f91c487.tar.gz
qemu-de210ec53c842fa67aa10110a7a351d64f91c487.tar.xz
qemu-de210ec53c842fa67aa10110a7a351d64f91c487.zip
python/qemu/qmp: assert sockfile is not None
In truth, if you don't do this, you'll just get a TypeError exception. Now, you'll get an AssertionError. Is this tangibly better? No. Does mypy complain less? Yes. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200514055403.18902-21-jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/migration/guestperf-plot.py')
0 files changed, 0 insertions, 0 deletions