]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: handle TypeError for Python 3 in test 242
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Tue, 26 Feb 2019 16:11:35 +0000 (19:11 +0300)
committerEric Blake <eblake@redhat.com>
Tue, 26 Feb 2019 16:37:06 +0000 (10:37 -0600)
commit42eb4591febefad29fc995785ce11a475fb47d90
tree3ab5b5b68dfd015d85dac96dead2e08d21c8d6e1
parentd88d85f1f0625d57e9f354aa0874c4c8b5d1fb47
iotests: handle TypeError for Python 3 in test 242

The data type for bytes in Python 3 differs from the one in Python 2.
The type cast that is compatible with both versions was applied.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reported-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <1551197495-24425-1-git-send-email-andrey.shinkevich@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/242