summaryrefslogtreecommitdiffstats
path: root/testing/mozbase/mozrunner/mozrunner
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/mozbase/mozrunner/mozrunner
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/mozbase/mozrunner/mozrunner')
-rw-r--r--testing/mozbase/mozrunner/mozrunner/devices/android_device.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/mozbase/mozrunner/mozrunner/devices/android_device.py b/testing/mozbase/mozrunner/mozrunner/devices/android_device.py
index 7cbec1b6f8..2db4743655 100644
--- a/testing/mozbase/mozrunner/mozrunner/devices/android_device.py
+++ b/testing/mozbase/mozrunner/mozrunner/devices/android_device.py
@@ -13,7 +13,6 @@ import subprocess
import sys
import telnetlib
import time
-from distutils.spawn import find_executable
from enum import Enum
import six
@@ -942,7 +941,7 @@ def _find_sdk_exe(substs, exe, tools):
if not found:
# Is exe on PATH?
- exe_path = find_executable(exe)
+ exe_path = shutil.which(exe)
if exe_path:
found = True
else: