Added PyPy env to tox.ini
Also fixes tests that were broken on PyPy. Co-Authored-By: Jim Rollenhagen <jim@jimrollenhagen.com> Change-Id: I2554aa844b040c4c74cbf287dccb06d816a39dbe
This commit is contained in:

committed by
Jim Rollenhagen

parent
6329ae46db
commit
a3cab12393
@@ -128,7 +128,7 @@ class GenericHardwareManager(HardwareManager):
|
||||
def _list_block_devices(self):
|
||||
report = self._cmd(['blockdev', '--report'])[0]
|
||||
lines = report.split('\n')
|
||||
lines = [line.split() for line in lines if line is not '']
|
||||
lines = [line.split() for line in lines if line != '']
|
||||
startsec_idx = lines[0].index('StartSec')
|
||||
device_idx = lines[0].index('Device')
|
||||
size_idx = lines[0].index('Size')
|
||||
|
Reference in New Issue
Block a user