Remove usage of readlines()
Change-Id: I6c3ecd36a340d1ba682565bb9e6138d1f06cdabf
This commit is contained in:
@@ -154,7 +154,7 @@ class ServiceLauncherTest(ServiceTestBase):
|
||||
f.readline()
|
||||
|
||||
processes = [tuple(int(p) for p in l.strip().split()[:2])
|
||||
for l in f.readlines()]
|
||||
for l in f]
|
||||
return [p for p, pp in processes if pp == self.pid]
|
||||
|
||||
def test_killed_worker_recover(self):
|
||||
|
||||
Reference in New Issue
Block a user