Index: build/android/pylib/utils/test_environment.py |
diff --git a/build/android/pylib/utils/test_environment.py b/build/android/pylib/utils/test_environment.py |
index 3b31d4675b4c78619490398d5034cfb3b57ad0db..f55a4acc100997aeb1bc5b4e7ee69caca73056d8 100644 |
--- a/build/android/pylib/utils/test_environment.py |
+++ b/build/android/pylib/utils/test_environment.py |
@@ -30,12 +30,8 @@ |
logging.warning('Failed waiting for %s to die. %s', p.pid, e) |
-def CleanupLeftoverProcesses(devices): |
- """Clean up the test environment, restarting fresh adb and HTTP daemons. |
- |
- Args: |
- devices: The devices to clean. |
- """ |
+def CleanupLeftoverProcesses(): |
+ """Clean up the test environment, restarting fresh adb and HTTP daemons.""" |
_KillWebServers() |
device_utils.RestartServer() |
@@ -47,5 +43,5 @@ |
logging.error(str(e)) |
d.WaitUntilFullyBooted() |
- device_utils.DeviceUtils.parallel(devices).pMap(cleanup_device) |
+ device_utils.DeviceUtils.parallel().pMap(cleanup_device) |