tests/vm: python3 fixes
commit3ace9be6d267b2f876ebb34096fe5d9b64a82d9a
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 20 May 2019 12:47:04 +0000 (20 14:47 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 12 Jun 2019 16:53:22 +0000 (12 17:53 +0100)
treee0c0c008a6770e6301c28ad64e5a2b94a1ad6668
parent8fc76176f60d6758641f50f43c2c4bcceab8a68d
tests/vm: python3 fixes

Add proper unicode handling when processing strings.
Also need to explicitly say we want int not float.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190520124716.30472-3-kraxel@redhat.com>
[AJB: fix conflicts with tests/vm: Port basevm to Python 3]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/vm/basevm.py