devmode-test: stop requiring python2 work

We don't need python2 anymore, so let it go.

TEST=`./ betty ../../../build/images/betty/latest/chromiumos_test_image.bin` works

Change-Id: I09dd8de25bb5fe84df04f94de3b0ede3e38390f8
Tested-by: Mike Frysinger <>
Reviewed-by: Xiyuan Xia <>
Reviewed-by: Ben Pastene <>
Reviewed-by: Dhanya Ganesh <>
Commit-Queue: Mike Frysinger <>
(cherry picked from commit 37b6600bbe6aa4509d0ab2ce9d21b303a22f287f)
Tested-by: George Engelbrecht <>
Reviewed-by: Mike Frysinger <>
Commit-Queue: George Engelbrecht <>
diff --git a/devmode-test/ b/devmode-test/
index 45f28e4..32516dc 100755
--- a/devmode-test/
+++ b/devmode-test/
@@ -147,7 +147,7 @@
       # Symlinks can be tricky, and running python from one place might work
       # while it fails from another.  Test all the prefixes (and $PATH).
       for prefix in ('/usr/bin', '/usr/local/bin', '/usr/local/usr/bin', ''):
-        for prog in ('python', 'python2', 'python3'):
+        for prog in ('python', 'python3'):
 ['sudo', '-u', 'chronos', '--',
                            os.path.join(prefix, prog),
                            '-c', '"print(\'hello world\')"'])