]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/163
iotests: Use // for Python integer division
authorMax Reitz <mreitz@redhat.com>
Mon, 22 Oct 2018 13:53:02 +0000 (14:53 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 31 Oct 2018 00:11:52 +0000 (21:11 -0300)
commit9a3a9a636eaf207816891f504b569b8d674987aa
treed36aa86b2797ee390d8b2b3aaedef2806ec9b729
parent8eb5e6746feaf9e021b69ea2521899f8dc889033
iotests: Use // for Python integer division

In Python 3, / is always a floating-point division.  We usually do not
want this, and as Python 2.7 understands // as well, change all integer
divisions to use that.

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-5-mreitz@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/qemu-iotests/030
tests/qemu-iotests/040
tests/qemu-iotests/041
tests/qemu-iotests/044
tests/qemu-iotests/093
tests/qemu-iotests/136
tests/qemu-iotests/149
tests/qemu-iotests/151
tests/qemu-iotests/163
tests/qemu-iotests/iotests.py
tests/qemu-iotests/qed.py