diff options
author | Max Reitz <mreitz@redhat.com> | 2018-10-22 14:53:06 +0100 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-30 21:13:54 -0300 |
commit | 2d894bee1c907399fbd59163a18e42c41daf4863 (patch) | |
tree | 89634e65be7ec206e333d52de4e260e511bef2e8 /tests/qemu-iotests/210.out | |
parent | c1a65cba9c1b9a0ad72046dc73ab0e316b9cb7fe (diff) |
iotests: Modify imports for Python 3
There are two imports that need to be modified when running the iotests
under Python 3: One is StringIO, which no longer exists; instead, the
StringIO class comes from the io module, so import it from there (and
use the BytesIO class for Python 2). The other is the ConfigParser,
which has just been renamed to configparser.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20181022135307.14398-9-mreitz@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/210.out')
0 files changed, 0 insertions, 0 deletions