summaryrefslogtreecommitdiff
path: root/python/tests/py-cmd_test.py
diff options
context:
space:
mode:
author Krzysztof Kosiński <krzysio@google.com> 2022-09-20 02:16:33 +0000
committer Krzysztof Kosiński <krzysio@google.com> 2023-05-04 17:52:12 +0000
commitebb25bd22e87df67006f07d116d3bfc43c91866d (patch)
tree9fb95c479f74b02d23c31d2c109664d857809c88 /python/tests/py-cmd_test.py
parentacb7f7a7ce75c9b9ee82f715468f7ad90cdba23c (diff)
Delete Python 2 embedded launcher test.
There are no remaining Python 2 binaries using an embedded launcher in Android. Bug: 245854393 Test: m par_test py2-cmd py3-cmd && build/soong/python/tests/runtest.sh Change-Id: I241bbaa417060b51b4d2883011ccb43e22ace4c8
Diffstat (limited to 'python/tests/py-cmd_test.py')
-rw-r--r--python/tests/py-cmd_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/py-cmd_test.py b/python/tests/py-cmd_test.py
index acda2d742..c7ba0ab4b 100644
--- a/python/tests/py-cmd_test.py
+++ b/python/tests/py-cmd_test.py
@@ -57,7 +57,7 @@ assert_equal("site.ENABLE_USER_SITE", site.ENABLE_USER_SITE, None)
if sys.version_info[0] == 2:
assert_equal("len(sys.path)", len(sys.path), 4)
- assert_equal("sys.path[0]", sys.path[0], os.path.dirname(__file__))
+ assert_equal("sys.path[0]", sys.path[0], os.path.abspath(os.path.dirname(__file__)))
assert_equal("sys.path[1]", sys.path[1], "/extra")
assert_equal("sys.path[2]", sys.path[2], os.path.join(sys.executable, "internal"))
assert_equal("sys.path[3]", sys.path[3], os.path.join(sys.executable, "internal", "stdlib"))