Index: build/android/pylib/instrumentation/test_jar.py |
diff --git a/build/android/pylib/instrumentation/test_jar.py b/build/android/pylib/instrumentation/test_jar.py |
index 7b97e59838c3d346a366fdf513157291f50a2e61..139ede5f1c8caaa0ec389dfecf88a2f60ac28b8f 100644 |
--- a/build/android/pylib/instrumentation/test_jar.py |
+++ b/build/android/pylib/instrumentation/test_jar.py |
@@ -228,9 +228,8 @@ class TestJar(object): |
int(v) for v in |
device_utils.DeviceUtils.parallel().GetProp( |
'ro.build.version.sdk').pGet(None)] |
- tests = filter( |
- lambda t: self._IsTestValidForSdkRange(t, min(sdk_versions)), |
- tests) |
+ tests = [t for t in tests |
+ if self._IsTestValidForSdkRange(t, min(sdk_versions))] |
return tests |