summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/iotests.py
diff options
context:
space:
mode:
authorJohn Snow2020-10-07 01:58:05 +0200
committerJohn Snow2020-10-20 15:37:57 +0200
commit9223fda464690b83a2b1f1487163f50602454c2e (patch)
tree0bae4863fc931796bcdf6796c593e2e18a7255a5 /tests/qemu-iotests/iotests.py
parentpython/machine.py: Add _qmp access shim (diff)
downloadqemu-9223fda464690b83a2b1f1487163f50602454c2e.tar.gz
qemu-9223fda464690b83a2b1f1487163f50602454c2e.tar.xz
qemu-9223fda464690b83a2b1f1487163f50602454c2e.zip
python/machine.py: fix _popen access
As always, Optional[T] causes problems with unchecked access. Add a helper that asserts the pipe is present before we attempt to talk with it. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20201006235817.3280413-9-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
0 files changed, 0 insertions, 0 deletions