From ebb25bd22e87df67006f07d116d3bfc43c91866d Mon Sep 17 00:00:00 2001 From: Krzysztof KosiƄski Date: Tue, 20 Sep 2022 02:16:33 +0000 Subject: 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 --- python/tests/py-cmd_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tests/py-cmd_test.py') 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")) -- cgit v1.2.3-59-g8ed1b